Skip to content

Commit

Permalink
feat: configure tools
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Nov 2, 2023
1 parent a1578ff commit d2122cb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[flake8]
doctests = 1
ignore =
# black takes care of line length
E501,
# black takes care of where to break lines
W503,
# black takes care of spaces within slicing (list[:])
E203,
# black takes care of spaces after commas
E231,
# as one has to use self.XX it should not be a problem
A003,
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,16 @@ test = ["pytest"]

[project.entry-points."flake8.extension"]
S001 = "flake8_pep3101:Flake8Pep3101"

[tool.isort]
profile = "plone"

[tool.black]
target-version = ["py38"]
skip-string-normalization = true

[tool.check-manifest]
ignore = [
".vscode/*",
"venv/*",
]

0 comments on commit d2122cb

Please sign in to comment.