Skip to content

Commit 7510e85

Browse files
committed
build: move isort and mypy config to pyproject.toml
1 parent 4e25b38 commit 7510e85

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,10 @@ Documentation = "https://readalongs.github.io/Studio/"
102102
Repository = "https://github.com/ReadAlongs/Studio"
103103
Issues = "https://github.com/ReadAlongs/Studio/issues"
104104
Changelog = "https://github.com/ReadAlongs/Studio/releases"
105+
106+
[tool.mypy]
107+
plugins = ["pydantic.mypy"]
108+
ignore_missing_imports = true
109+
110+
[tool.isort]
111+
profile = "black"

setup.cfg

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
[isort]
2-
known_first_party = readalongs
3-
multi_line_output=3
4-
include_trailing_comma=True
5-
force_grid_wrap=0
6-
use_parentheses=True
7-
line_length=88
8-
ensure_newline_before_comments=True
9-
10-
[mypy]
11-
ignore_missing_imports = True
12-
plugins = pydantic.mypy
13-
141
[flake8]
152
ignore = E203, E266, E501, W503
163
max-line-length = 88

0 commit comments

Comments
 (0)