-
-
Notifications
You must be signed in to change notification settings - Fork 185
/
pyproject.toml
75 lines (67 loc) · 1.76 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
requires = [
"setuptools>=70",
"setuptools_scm>=7",
"tomli>=1.0.0; python_version < '3.11'",
]
build-backend = "setuptools.build_meta"
[project]
name = "conda-smithy"
authors = [
{name = "Phil Elson", email = "[email protected]"},
]
description = "A package to create repositories for conda recipes, and automate their building with CI tools on Linux, OSX and Windows."
dynamic = ["version"]
requires-python = ">=3.9"
[project.urls]
home = "https://github.com/conda-forge/conda-smithy"
[project.scripts]
feedstocks = "conda_smithy.feedstocks:main"
conda-smithy = "conda_smithy.cli:main"
[tool.setuptools]
packages = ["conda_smithy"]
zip-safe = false
include-package-data = true
[tool.setuptools_scm]
write_to = "conda_smithy/_version.py"
write_to_template = "__version__ = '{version}'"
[tool.black]
line-length = 79
[tool.ruff.lint]
ignore = [
"E501", # https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black
]
select = [
# pyflakes
"F",
# pycodestyle
"E", "W",
# isort
"I",
# pep8-naming
"N",
# pypugrade
"UP",
# flake8-logging-format
"G",
# flake8-tidy-imports
"TID",
]
isort.known-first-party = ["conda_smithy"]
flake8-tidy-imports.ban-relative-imports = "all"
[tool.pytest.ini_options]
norecursedirs = [
"tests/recipes",
".*",
"*.egg*",
"build",
"dist",
"conda-smithy.recipe",
]
addopts = "--ignore conda_smithy --tb native --strict-markers --durations=20"
markers = [
"legacy_circle: Test designed to run as if prior to the azure migration",
"legacy_travis: Test designed to run as if prior to the azure migration",
"legacy_appveyor: Test designed to run as if prior to the azure migration",
"cli: CLI tests outside of test/test_cli.py",
]