-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,7 @@ description = "Schema, functions and a python library for storing and accessing | |
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = "MIT" | ||
authors = [ | ||
{name = "David Bitner", email = "[email protected]"}, | ||
] | ||
authors = [{ name = "David Bitner", email = "[email protected]" }] | ||
keywords = ["STAC", "Postgresql", "PgSTAC"] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
|
@@ -20,25 +18,20 @@ classifiers = [ | |
"Programming Language :: Python :: 3.11", | ||
] | ||
dependencies = [ | ||
"cachetools==5.3.*", | ||
"fire==0.4.*", | ||
"hydraters==0.1.*", | ||
"cachetools>=5.3.0", | ||
"fire>=0.4.0", | ||
"hydraters>=0.1.0", | ||
"orjson>=3.6.2", | ||
"plpygis==0.2.*", | ||
"plpygis>=0.2.0", | ||
"pydantic>=1.7", | ||
"python-dateutil==2.8.*", | ||
"python-dateutil>=2.8.0", | ||
"smart-open>=4.2", | ||
"tenacity==8.1.*", | ||
"tenacity>=8.1.0", | ||
"version-parser>= 1.0.1", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pystac[validation]==1.*", | ||
"types-cachetools", | ||
] | ||
test = ["pytest", "pytest-cov", "pystac[validation]==1.*", "types-cachetools"] | ||
dev = [ | ||
"flake8==7.1.1", | ||
"black>=24.10.0", | ||
|
@@ -47,14 +40,8 @@ dev = [ | |
"ruff==0.8.2", | ||
"pre-commit", | ||
] | ||
psycopg = [ | ||
"psycopg[binary]==3.1.*", | ||
"psycopg-pool==3.1.*", | ||
] | ||
migrations = [ | ||
"psycopg2-binary", | ||
"migra" | ||
] | ||
psycopg = ["psycopg[binary]==3.1.*", "psycopg-pool==3.1.*"] | ||
migrations = ["psycopg2-binary", "migra"] | ||
|
||
|
||
[project.urls] | ||
|
@@ -76,22 +63,18 @@ branch = true | |
parallel = true | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"no cov", | ||
"if __name__ == .__main__.:", | ||
"if TYPE_CHECKING:", | ||
] | ||
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"] | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"E", # pycodestyle errors | ||
"W", # pycodestyle warnings | ||
"F", # pyflakes | ||
"I", # isort | ||
"C", # flake8-comprehensions | ||
"B", # flake8-bugbear | ||
"E", # pycodestyle errors | ||
"W", # pycodestyle warnings | ||
"F", # pyflakes | ||
"I", # isort | ||
"C", # flake8-comprehensions | ||
"B", # flake8-bugbear | ||
# "D", # pydocstyle | ||
"C4", # flake8-comprehensions | ||
"C4", # flake8-comprehensions | ||
"T20", # flake8-print | ||
# "PT", # flake8-pytest-style | ||
"Q", # flake8-quotes | ||
|
@@ -106,8 +89,8 @@ select = [ | |
] | ||
ignore = [ | ||
# "E501", # line too long, handled by black | ||
"B008", # do not perform function calls in argument defaults | ||
"C901", # too complex | ||
"B008", # do not perform function calls in argument defaults | ||
"C901", # too complex | ||
"B905", | ||
] | ||
|
||
|