Browse Source

Add flake8 back

tags/0.6.0
parent
commit
377e05ef8f
Signed by: Andriy Kushnir (Orhideous) <[email protected]> GPG Key ID: 62E078AB621B0D15
3 changed files with 9 additions and 1 deletions
  1. +2
    -1
      Makefile
  2. +3
    -0
      requirements_dev.txt
  3. +4
    -0
      setup.cfg

+ 2
- 1
Makefile View File

@@ -36,7 +36,8 @@ clean-test: ## remove test and coverage artifacts
rm -fr htmlcov/
rm -fr .pytest_cache

lint: ## check style with pylint
lint: ## check style with pylint and flake8
flake8 nidhoggr tests
pylint nidhoggr

test: ## run tests quickly with the default Python

+ 3
- 0
requirements_dev.txt View File

@@ -6,3 +6,6 @@ pytest-runner>=4,<5
twine>=1.12
coverage>=4.5,<5
pytest-flask>=0.12
flake8>=3.7
tox>=3.14
Sphinx>=1.8

+ 4
- 0
setup.cfg View File

@@ -1,6 +1,10 @@
[bdist_wheel]
universal = 1

[flake8]
exclude = docs
max-line-length = 120

[aliases]
# Define setup.py command aliases here
test = pytest

Loading…
Cancel
Save