30 lines
681 B
Diff
30 lines
681 B
Diff
# Remove Pylama from test dependencies.
|
|
|
|
diff --git a/setup.cfg b/setup.cfg
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -1,9 +1,6 @@
|
|
[aliases]
|
|
test=pytest
|
|
[tool:pytest]
|
|
-addopts=-r xs --pylama
|
|
+addopts=-r xs
|
|
strict=True
|
|
testpaths=tests src
|
|
-[pylama]
|
|
-linters=pyflakes
|
|
-skip=tests/*
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -11,7 +11,7 @@ with open('README.rst', 'rb') as readme_file:
|
|
readme = readme_file.read().decode('utf-8')
|
|
|
|
requirements = []
|
|
-test_requirements = ['pytest', 'pylama']
|
|
+test_requirements = ['pytest']
|
|
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
|
|
setup_requirements = ['pytest-runner'] if needs_pytest else []
|
|
|