-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (53 loc) · 1.54 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
[project]
name = "cumulus-library-data-metrics"
requires-python = ">= 3.11"
dependencies = [
"cumulus-library >= 4, < 5",
]
description = "Data quality and characterization metrics for Cumulus"
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 = ["version"]
[project.urls]
Home = "https://smarthealthit.org/cumulus/"
Documentation = "https://docs.smarthealthit.org/cumulus/"
Source = "https://github.com/smart-on-fhir/cumulus-library-data-metrics"
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.sdist]
include = [
"tests/",
"LICENSE",
]
[project.optional-dependencies]
tests = [
"ddt",
"pytest",
]
dev = [
"pre-commit",
# Ruff is using minor versions for breaking changes until their 1.0 release.
# See https://docs.astral.sh/ruff/versioning/
"ruff < 0.8", # keep in rough sync with pre-commit-config.yaml
]
[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
]