Skip to content

Commit a304318

Browse files
authored
Add isort and codespell linters and respective settings (#28)
* Add `isort` and `codespell` linters and respective settings * Increase line length to 108 * Remove isort line length override
1 parent ebd12ce commit a304318

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ classifiers = [
3232
dev = [
3333
"datamodel-code-generator",
3434
"pytest",
35-
"black"
35+
"black",
36+
"isort",
37+
"codespell"
3638
]
39+
3740
jupyter = [
3841
"ipykernel",
3942
"matplotlib"
@@ -56,7 +59,7 @@ include = ["harp*"]
5659
[tool.setuptools_scm]
5760

5861
[tool.black]
59-
line-length = 88
62+
line-length = 108
6063
target-version = ['py39']
6164
include = '\.pyi?$'
6265
extend-exclude = '''
@@ -68,3 +71,10 @@ extend-exclude = '''
6871
| reflex-generator
6972
)
7073
'''
74+
75+
[tool.isort]
76+
profile = 'black'
77+
78+
[tool.codespell]
79+
skip = '.git,*.pdf,*.svg'
80+
ignore-words-list = 'nd'

0 commit comments

Comments
 (0)