ignore dot files for file changes (editors write tmp/swap files etc.)
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
1.10
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
- ignore dot files for file changes (editors write tmp/swap files etc.)
|
||||||
|
|
||||||
1.9
|
1.9
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pytest-xdist",
|
name="pytest-xdist",
|
||||||
version='1.9',
|
version='1.10',
|
||||||
description='py.test xdist plugin for distributed testing and loop-on-failing modes',
|
description='py.test xdist plugin for distributed testing and loop-on-failing modes',
|
||||||
long_description=open('README.txt').read(),
|
long_description=open('README.txt').read(),
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ class TestStatRecorder:
|
|||||||
changed = sd.check()
|
changed = sd.check()
|
||||||
assert changed
|
assert changed
|
||||||
|
|
||||||
|
(hello + "c").write("hello")
|
||||||
|
changed = sd.check()
|
||||||
|
assert changed
|
||||||
|
|
||||||
p = tmp.ensure("new.py")
|
p = tmp.ensure("new.py")
|
||||||
changed = sd.check()
|
changed = sd.check()
|
||||||
assert changed
|
assert changed
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
#
|
#
|
||||||
__version__ = '1.9'
|
__version__ = '1.10'
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ class StatRecorder:
|
|||||||
self.check() # snapshot state
|
self.check() # snapshot state
|
||||||
|
|
||||||
def fil(self, p):
|
def fil(self, p):
|
||||||
return True # we are sensitive to all file changes since 1.9
|
return p.check(dotfile=0)
|
||||||
def rec(self, p):
|
def rec(self, p):
|
||||||
return p.check(dotfile=0)
|
return p.check(dotfile=0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user