Skip to content

Commit 6a1c272

Browse files
committed
+flake8
1 parent 5e94da9 commit 6a1c272

File tree

4 files changed

+48
-1
lines changed

4 files changed

+48
-1
lines changed

dephell_changelogs/_finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
'release',
1414
'releases',
1515
'whatsnew',
16-
'ChangeLog'
16+
'ChangeLog',
1717
)
1818

1919
DOCS_NAMES = (

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ envs = ["main", "dev"]
99
tests = ["tests"]
1010
command = "python -m pytest -n 4 tests/"
1111

12+
[tool.dephell.flake8]
13+
from = {format = "pip", path = "requirements-flake.txt"}
14+
python = ">=3.6"
15+
command = "flake8"
16+
1217
[tool.dephell.typing]
1318
from = {format = "flit", path = "pyproject.toml"}
1419
envs = ["main", "dev"]

requirements-flake.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
flake8
2+
3+
flake8-alfred # https://github.com/datatheorem/flake8-alfred
4+
flake8-blind-except # https://github.com/elijahandrews/flake8-blind-except
5+
flake8-broken-line # https://github.com/sobolevn/flake8-broken-line
6+
flake8-bugbear # https://github.com/PyCQA/flake8-bugbear
7+
flake8-commas # https://github.com/PyCQA/flake8-commas
8+
flake8-comprehensions # https://github.com/adamchainz/flake8-comprehensions
9+
flake8-debugger # https://github.com/JBKahn/flake8-debugger
10+
flake8-logging-format # https://github.com/globality-corp/flake8-logging-format
11+
flake8-mutable # https://github.com/ebeweber/flake8-mutable
12+
flake8-pep3101 # https://github.com/gforcada/flake8-pep3101
13+
flake8-quotes # https://github.com/zheller/flake8-quotes
14+
flake8-tidy-imports # https://github.com/adamchainz/flake8-tidy-imports
15+
flake8-variables-names # https://github.com/best-doctor/flake8-variables-names
16+
pep8-naming # https://github.com/PyCQA/pep8-naming

setup.cfg

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[metadata]
2+
description-file = README.md
3+
license_file = LICENSE
4+
5+
[flake8]
6+
max-line-length=120
7+
ignore=E241,C401,C408
8+
exclude=
9+
.tox
10+
.dephell
11+
.pytest_cache
12+
build
13+
setup.py
14+
15+
[isort]
16+
skip=.tox,.pytest_cache,.dephell
17+
line_length=120
18+
combine_as_imports=true
19+
balanced_wrapping=true
20+
lines_after_imports=2
21+
not_skip=__init__.py
22+
multi_line_output=5
23+
import_heading_stdlib=built-in
24+
import_heading_thirdparty=external
25+
import_heading_firstparty=project
26+
import_heading_localfolder=app

0 commit comments

Comments
 (0)