-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (48 loc) · 1.42 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
[project]
name = "cumulus-library-covid"
requires-python = ">= 3.11"
dependencies = [
"cumulus-library >= 3.0, <4",
"sqlfluff >= 3"
]
readme = "README.md"
license = { text="Apache License 2.0" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["description", "version"]
[project.urls]
Home = "https://smarthealthit.org/cumulus"
Documentation = "https://docs.smarthealthit.org/cumulus/"
Source = "https://github.com/smart-on-fhir/cumulus-library-covid"
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project.optional-dependencies]
dev = [
# if you update the ruff version, also update .pre-commit-config.yaml
"ruff < 0.6",
]
tests = [
"duckdb",
"pandas",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
allowed-confusables = ["’"] # allow proper apostrophes
select = [
"A", # prevent using keywords that clobber python builtins
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"PLE", # pylint errors
"RUF", # the ruff developer's own rules
"S", # bandit security warnings
"UP", # alert you when better syntax is available in your python version
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S"] # tests do suspicious stuff that's fine, actually