Skip to content

Commit 3be18af

Browse files
committed
add tox.ini, run pre-commit
1 parent 349e572 commit 3be18af

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

stac_fastapi/mongo/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"stac-fastapi.extensions==2.3.0",
1515
"fastapi-utils",
1616
"pymongo",
17-
"pystac[validation]"
17+
"pystac[validation]",
1818
]
1919

2020
extra_reqs = {

tox.ini

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Linter configs
2+
[flake8]
3+
ignore = D203
4+
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
5+
max-complexity = 12
6+
max-line-length = 90
7+
8+
;[mypy]
9+
;no_strict_optional = true
10+
;ignore_missing_imports = True
11+
12+
[tool:isort]
13+
profile=black
14+
known_first_party = stac_fastapi
15+
known_third_party = rasterio,stac-pydantic,sqlalchemy,geoalchemy2,fastapi
16+
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

0 commit comments

Comments
 (0)