[tool.isort] profile = "black" known_first_party = "stac_fastapi.pgstac" known_third_party = ["rasterio", "stac-pydantic", "sqlalchemy", "geoalchemy2", "fastapi", "stac_fastapi"] sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] [tool.mypy] ignore_missing_imports = true namespace_packages = true explicit_package_bases = true exclude = ["tests", ".venv"] [tool.ruff] line-length = 90 [tool.ruff.lint] select = [ "C", "E", "F", "W", "B", ] ignore = [ "E203", # line too long, handled by black "E501", # do not perform function calls in argument defaults "B028", # No explicit `stacklevel` keyword argument found ] [tool.bumpversion] current_version = "5.0.2" parse = """(?x) (?P\\d+)\\. (?P\\d+)\\. (?P\\d+) (?: (?Pa|b|rc) # pre-release label (?P\\d+) # pre-release version number )? # pre-release section is optional (?: \\.post (?P\\d+) # post-release version number )? # post-release section is optional """ serialize = [ "{major}.{minor}.{patch}.post{post_n}", "{major}.{minor}.{patch}{pre_l}{pre_n}", "{major}.{minor}.{patch}", ] search = "{current_version}" replace = "{new_version}" regex = false tag = false commit = true [[tool.bumpversion.files]] filename = "VERSION" search = "{current_version}" replace = "{new_version}" [[tool.bumpversion.files]] filename = "stac_fastapi/pgstac/version.py" search = '__version__ = "{current_version}"' replace = '__version__ = "{new_version}"'