Skip to content

Commit

Permalink
Move mypy config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal committed Jul 5, 2022
1 parent ce72bef commit 60244b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ black:

.PHONY: mypy
mypy:
mypy --show-error-codes oida tests
mypy

.PHONY: isort
isort:
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@ markers = [

[tool.isort]
profile = "black"
src_paths = ["oida", "test"]

[tool.mypy]
strict = true
python_version = "3.10"
show_error_codes = true
files = ["oida", "tests"]
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ ignore = E501,B008,W503
extend-ignore = E203
select = C,E,F,W,B,B901,N
ignore-names = visit_*, leave_*

[mypy]
strict = true
python_version = 3.10
files = oida, tests

0 comments on commit 60244b1

Please sign in to comment.