Skip to content

Commit

Permalink
Add linting configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sayerhs committed Dec 25, 2023
1 parent b3081c2 commit ac24152
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,16 @@ requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 80
skip-string-normalization = 1
extend-exclude = """(lexer.py|parser.py|All.*py)"""

[tool.isort]
profile = "black"
known_first_party = "caelus"
known_sci = "numpy, scipy, pandas, pydantic, xarray, yaml"
sections = "FUTURE, STDLIB, SCI, THIRDPARTY, FIRSTPARTY, LOCALFOLDER"
extend_skip = ["lexer.py", "parser.py"]

0 comments on commit ac24152

Please sign in to comment.