From 6db83a9c05d200d43e83c19a585fcf7f0d9e6396 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Wed, 1 Mar 2023 14:52:03 -0800 Subject: [PATCH] chore: remove tox (#536) These were all the references to it that I could find. --- .dockerignore | 1 - .gitignore | 1 - pyproject.toml | 11 +++++++++++ tox.ini | 16 ---------------- 4 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 pyproject.toml delete mode 100644 tox.ini diff --git a/.dockerignore b/.dockerignore index e3a3843ce..e187e45a9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,7 +2,6 @@ *.pyc *.pyo *.pyd -.tox .coverage .coverage.* .vscode diff --git a/.gitignore b/.gitignore index 1cc0fbf51..908694a3a 100644 --- a/.gitignore +++ b/.gitignore @@ -64,7 +64,6 @@ pip-delete-this-directory.txt # Unit test / coverage reports htmlcov/ -.tox/ .coverage .coverage.* .cache diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..4f04d8a5d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,11 @@ +[flake8] +ignore = "D203" +exclude = [".git", "__pycache__", "docs/source/conf.py", "build", "dist"] +max-complexity = 12 +max-line-length = 90 + +[tool.isort] +profile = "black" +known_first_party = "stac_fastapi" +known_third_party = ["rasterio", "stac-pydantic", "sqlalchemy", "geoalchemy2", "fastapi"] +sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 100ee64c0..000000000 --- a/tox.ini +++ /dev/null @@ -1,16 +0,0 @@ -# Linter configs -[flake8] -ignore = D203 -exclude = .git,__pycache__,docs/source/conf.py,old,build,dist -max-complexity = 12 -max-line-length = 90 - -;[mypy] -;no_strict_optional = true -;ignore_missing_imports = True - -[tool:isort] -profile=black -known_first_party = stac_fastapi -known_third_party = rasterio,stac-pydantic,sqlalchemy,geoalchemy2,fastapi -sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER \ No newline at end of file