Debian Codegraph @

pyproject.toml

raw ◀ ▶
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 "--strict-markers",
60 "--durations=20",
61 ]
62 markers = ["serial: execute test serially (to avoid race conditions)"]
63
64 [tool.ruff]
65 exclude = [
66 "build",
67 "src/conda_package_handling/_version.py",
68 "tests",
69 "conda.recipe",
70 ".git",
71 "versioneer.py",
72 "benchmarks",
73 ".asv",
74 "rever",
75 ]
76 line-length = 99
77 show-fixes = true
78
79 [tool.ruff.lint]
80 ignore = [
81 "E722", # do not use bare 'except'
82 "E731", # do not assign a lambda expression, use a def
83 ]
84 select = [
85 "E", # pycodestyle errors
86 "W", # pycodestyle warnings
87 ]