Skip to content

Commit

Permalink
Move pytest and isort config to pyproject.toml
Browse files Browse the repository at this point in the history
Sadly flake8 doesn't support pyproject.toml. We could consider moving to
ruff.
  • Loading branch information
rnestler committed Sep 11, 2023
1 parent e63c2f8 commit 93e4f7f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ test = [
"mypy == 1.5.1",
"isort ~= 5.10.1",
]

[tool.isort]
line_length = 120
multi_line_output = 5
balanced_wrapping = false
known_typing = typing
sections = FUTURE,STDLIB,TYPING,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[tool.pytest.ini_options]
addopts = --doctest-modules
10 changes: 0 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
[flake8]
ignore = E201,E241,E501,W504,E741

[isort]
line_length = 120
multi_line_output = 5
balanced_wrapping = False
known_typing = typing
sections = FUTURE,STDLIB,TYPING,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

[tool:pytest]
addopts = --doctest-modules

0 comments on commit 93e4f7f

Please sign in to comment.