generated from reichlab/reichlab-python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
58 lines (47 loc) · 1.2 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
[project]
name = "reichlab-repo-utils"
description = "Standardize GitHub repository settings"
license = {text = "MIT License"}
readme = "README.md"
requires-python = '>=3.10'
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
dynamic = ["version"]
dependencies = [
"requests",
"rich",
"structlog",
]
[project.optional-dependencies]
dev = [
"mypy",
"pre-commit",
"pytest",
"ruff",
"types-requests",
]
[project.entry-points."console_scripts"]
add_default_rulesets = "reichlab_repo_utils.add_repo_rulesets:main"
archive_repos = "reichlab_repo_utils.archive_repos:main"
list_repos = "reichlab_repo_utils.list_repos:main"
[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel"]
[tools.setuptools]
packages = ["reichlab_repo_utils"]
[tool.ruff]
line-length = 120
lint.extend-select = ["I", "Q"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
[tool.ruff.format]
quote-style = "double"
[tool.setuptools.dynamic]
version = {attr = "reichlab_repo_utils.__version__"}
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["rich.*"]
follow_imports = "skip"