Debian Codegraph @

pyproject.toml

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 [build-system]
2 requires = ["flit_core >=3.2,<4"]
3 build-backend = "flit_core.buildapi"
4
5 [project]
6 name = "conda-package-handling"
7 authors = [
8 { name = "Anaconda, Inc. & Contributors", email = "[email protected]" },
9 ]
10 description = "Create and extract conda packages of various formats."
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 = ["conda-package-streaming >= 0.13.0", "requests", "backports.zstd >= 1.1.0; python_version<'3.14'"]
22
23 [project.scripts]
24 cph = "conda_package_handling.cli:main"
25
26 [project.optional-dependencies]
27 test = [
28 "mock",
29 "pytest",
30 "pytest-cov",
31 "pytest-mock",
32 "bottle",
33 ]
34 docs = [
35 "furo",
36 "sphinx",
37 "sphinx-argparse",
38 "myst-parser",
39 "mdit-py-plugins>=0.3.0",
40 ]
41
42 [project.urls]
43 Home = "https://github.com/conda/conda-package-handling"
44 Documentation = "https://conda.github.io/conda-package-handling/"
45
46 [tool.coverage.run]
47 source = [ "src/", ]
48 omit = [
49 "src/conda_package_handling/__main__.py",
50 "src/conda_package_handling/_version.py",
51 "versioneer.py",
52 "tests/*",
53 ]
54
55 [tool.pytest.ini_options]
56 norecursedirs = [".*", "*.egg*", "build", "dist", "conda.recipe"]
57 addopts = [
58 "--junitxml=junit.xml",
59 "--cov-report=term-missing",
60 "--cov-branch",
61 "--tb=native",
62 "--strict-markers",
63 "--durations=20",
64 ]
65 markers = ["serial: execute test serially (to avoid race conditions)"]
66
67 [tool.ruff]
68 exclude = [
69 "build",
70 "src/conda_package_handling/_version.py",
71 "tests",
72 "conda.recipe",
73 ".git",
74 "versioneer.py",
75 "benchmarks",
76 ".asv",
77 "rever",
78 ]
79 line-length = 99
80 show-fixes = true
81
82 [tool.ruff.lint]
83 ignore = [
84 "E722", # do not use bare 'except'
85 "E731", # do not assign a lambda expression, use a def
86 ]
87 select = [
88 "E", # pycodestyle errors
89 "W", # pycodestyle warnings
90 ]