Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 requires = ["flit_core >=3.2,<4"]
3 build-backend = "flit_core.buildapi"
4
5 [project]
6 name = "conda_package_streaming"
7 authors = [
8 { name = "Anaconda, Inc. & Contributors", email = "[email protected]" },
9 ]
10 description = "An efficient library to read from new and old format .conda and .tar.bz2 conda packages."
11 license = { file = "LICENSE" }
12 readme = "README.md"
13 classifiers = [
14 "License :: OSI Approved :: BSD License",
15 "Programming Language :: Python :: 3",
16 "Programming Language :: Python :: Implementation :: CPython",
17 "Programming Language :: Python :: Implementation :: PyPy",
18 ]
19 dynamic = ["version"]
20 requires-python = ">=3.10"
21 dependencies = ["requests", "backports.zstd ; python_version<'3.14'"]
22
23 [project.optional-dependencies]
24 test = [
25 "pytest >=7",
26 "pytest-cov",
27 "pytest-mock",
28 "boto3",
29 "boto3-stubs[essential]",
30 "bottle",
31 "conda",
32 "conda-package-handling >=2",
33 "responses"
34 ]
35 docs = ["furo", "sphinx", "myst-parser", "mdit-py-plugins>=0.3.0"]
36
37 [project.urls]
38 Home = "https://github.com/conda/conda-package-streaming"
39 Documentation = "https://conda.github.io/conda-package-streaming/"
40
41 [tool.coverage.report]
42 exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
43
44 [tool.coverage.run]
45 source = ["conda_package_streaming/", "tests/"]
46
47 # pyproject.toml
48 [tool.pytest.ini_options]
49 minversion = "7.0"
50 addopts = "--cov=conda_package_streaming"
51 testpaths = ["tests"]
52
53 [tool.ruff]
54 show-fixes = true
55
56 [tool.ruff.lint]
57 select = [
58 "F", # pyflakes
59 "E", # pycodestyle (errors)
60 "W", # pycodestyle (warnings)
61 "I", # isort
62 "UP" # pyupgrade
63 ]
64
65 [tool.ruff.format]
66 line-ending = "auto"