-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from datastax/poetry
Use poetry to manage the project
- Loading branch information
Showing
12 changed files
with
1,187 additions
and
118 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[tool.poetry] | ||
name = "astrapy" | ||
version = "0.6.3" | ||
description = "AstraPy is a Pythonic SDK for DataStax Astra" | ||
authors = [ | ||
"Kirsten Hunter <kirsten.hunter@datastax.com>" | ||
] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
packages = [ | ||
{ include = "astrapy" } | ||
] | ||
keywords = ["DataStax", "Astra"] | ||
homepage = "https://github.com/datastax/astrapy" | ||
repository = "https://github.com/datastax/astrapy" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Build Tools", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.8.0" | ||
cassio = "~0.1.3" | ||
toml = "^0.10.2" | ||
httpx = { version="~0.25.1", extras=["http2"] } | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "~23.11.0" | ||
faker = "~20.0.0" | ||
mypy = "~1.7.0" | ||
pre-commit = "~3.5.0" | ||
pytest-asyncio = "~0.23.2" | ||
pytest-cov = "~4.1.0" | ||
pytest-testdox = "~3.1.0" | ||
pytest = "~7.4.3" | ||
python-dotenv = "~1.0.0" | ||
ruff = "~0.1.5" | ||
types-toml = "^0.10.8.7" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.mypy] | ||
disallow_any_generics = true | ||
disallow_incomplete_defs = true | ||
disallow_untyped_calls = true | ||
disallow_untyped_decorators = true | ||
disallow_untyped_defs = true | ||
follow_imports = "normal" | ||
ignore_missing_imports = true | ||
no_implicit_reexport = true | ||
show_error_codes = true | ||
show_error_context = true | ||
strict_equality = true | ||
strict_optional = true | ||
warn_redundant_casts = true | ||
warn_return_any = true | ||
warn_unused_ignores = true | ||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = "ignore::DeprecationWarning" | ||
addopts = "-v --cov=astrapy --testdox --cov-report term-missing" | ||
asyncio_mode = "auto" | ||
log_cli = 1 | ||
log_cli_level = "INFO" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.