-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
80 lines (70 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
[project]
name = 'datahub_tools'
description = 'Python tools for working with DataHub'
version = '2.2.0'
readme = 'README.md'
requires-python = '>=3.9'
dependencies = ['acryl-datahub>=0.10.3.2', 'jmespath', 'requests']
[tool.setuptools]
include-package-data = false
package-dir = { "" = "src" }
[tool.black]
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.tox]
legacy_tox_ini = '''
[tox]
envlist = py39,py310,py311
isolated_build = True
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps = pytest
commands = pytest
'''
# rules doc: https://beta.ruff.rs/docs/rules/#mccabe-c90
[tool.ruff]
select = ["B", "C", "E", "F", "I", "N", "W", "RUF"]
fixable = [
"I", # isort
]
unfixable = []
exclude = [
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pytype",
".ruff_cache",
".tox",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"node_modules",
"venv",
]
line-length = 110
target-version = "py39"