Skip to content

Commit 4f1a5fb

Browse files
committed
feat: configure tools
- isort - black - flake8 - check-manifest
1 parent 821cd31 commit 4f1a5fb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.flake8

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[flake8]
2+
doctests = 1
3+
ignore =
4+
# black takes care of line length
5+
E501,
6+
# black takes care of where to break lines
7+
W503,
8+
# black takes care of spaces within slicing (list[:])
9+
E203,
10+
# black takes care of spaces after commas
11+
E231,
12+
# as one has to use self.XX it should not be a problem
13+
A003,

pyproject.toml

+13
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,16 @@ test = ["pytest"]
4444

4545
[project.entry-points."flake8.extension"]
4646
A00 = "flake8_builtins:BuiltinsChecker"
47+
48+
[tool.isort]
49+
profile = "plone"
50+
51+
[tool.black]
52+
target-version = ["py38"]
53+
skip-string-normalization = true
54+
55+
[tool.check-manifest]
56+
ignore = [
57+
".vscode/*",
58+
"venv/*",
59+
]

0 commit comments

Comments
 (0)