-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
110 lines (98 loc) · 2.18 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["setuptools>=61", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "epi_helper"
authors = [
{name="Lillian Jensen", email="[email protected]"}
]
description = "TODO: Add stuff here"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["data-science", "michigan-disease-surveillance-system", "epidemiology","local-public-health"]
license = {file = "LICENSE"}
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
dependencies = [
"pandas"
]
dynamic = ["version"]
[project.urls]
"Homepage"="https://github.com/tyg3rr/Epi_Helper"
"Issue Tracker"="https://github.com/tyg3rr/Epi_Helper/issues"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["*"]
namespaces = false
[project.scripts]
my-script = "epi_helper:main"
[tool.setuptools_scm]
# write_to = "src/epi_helper/_version.py"
version_scheme="release-branch-semver"
local_scheme="no-local-version"
[tool.setuptools.dynamic]
# version = {attr = "epi_helper.VERSION"}
readme = {file = "README.md"}
[tool.ruff]
line-length = 140
target-version = "py311"
fix = true
unfixable = []
select = [
# pyflakes
"F",
# pycodestyle
"E", "W",
# flake8-2020
"YTT",
# flake8-bugbear
"B",
# flake8-quotes
"Q",
# flake8-debugger
"T10",
# flake8-gettext
"INT",
# pylint
"PLC", "PLE", "PLR", "PLW",
# misc lints
"PIE",
# flake8-pyi
"PYI",
# tidy imports
"TID",
# implicit string concatenation
"ISC",
# type-checking imports
"TCH",
# comprehensions
"C4",
# pygrep-hooks
"PGH",
# Ruff-specific rules
"RUF",
]
ignore = []
exclude = [
"doc/sphinxext/*.py",
"doc/build/*.py",
"doc/temp/*.py",
".eggs/*.py",
# vendored files
"pandas/util/version/*",
"versioneer.py",
# exclude asv benchmark environments from linting
"env",
]
[tool.ruff.per-file-ignores]
# relative imports allowed for asv_bench
"asv_bench/*" = ["TID"]