Skip to content

Commit

Permalink
updated isort and black settings
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch committed Nov 13, 2021
1 parent 57a854b commit 3c3bb01
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
11 changes: 10 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
[build-system]
requires = ['setuptools>=40.8.0', 'wheel', 'numpy', 'pythran', 'transonic>=0.4.0']
requires = ["setuptools>=40.8.0", "wheel", "numpy", "pythran", "transonic>=0.4.0"]

[tool.black]
line-length = 88

[tool.isort]
known_first_party = "pylandstats"
default_section = "THIRDPARTY"
forced_separate = ["test_pylandstats", "pythran"]
skip = "setup.py"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ numpy >= 1.15
pandas >= 0.23
rasterio >= 1.0.0
scipy >= 1.0.0
transonic >= 0.4.0
transonic >= 0.4.0
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@ max-line-length = 88
extend-ignore = E203
exclude =
build
pylandstats/__pythran__
pylandstats/__pythran__
per-file-ignores =
pylandstats/__init__.py:F401,F403
pylandstats/landscape.py:F821,D401
tests/test_pylandstats.py:D101,D102,F401

[isort]
known_first_party = pylandstats
default_section = THIRDPARTY
forced_separate = test_pylandstats, pythran

0 comments on commit 3c3bb01

Please sign in to comment.