-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (90 loc) · 1.95 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
[build-system]
requires = [
"setuptools > 65",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["devtools*"]
[tool.flake8]
ignore = ['E231', 'E241']
per-file-ignores = [
'__init__.py:F401',
]
max-complexity = 10
max-line-length = 120
#count = true
filename = ["./devtools/*/*.py",
"./tests/*/*.py",
]
# format must be html only in CI pipelines
#format = "html"
htmldir = "target/flake-reports"
htmltitle = "Flake8 (PEP 8) Violations"
[tool.distutils.bdist_wheel]
universal = true
[tool.pytest.ini_options]
minversion = "7.0"
cache_dir = "target/.pytest_cache"
addopts = '''
--html target/pytest-report.html
--self-contained-html
--cov-report term-missing
--cov-report html
'''
testpaths = [
"tests",
"integration",
]
env = [
"RUN_ENV=test",
]
[tool.coverage]
run.data_file = "target/.coverage"
run.source = ["devtools"]
html.directory = "target/coverage-reports"
xml.output = "target/coverage.xml"
report.skip_covered = false
report.fail_under = 90.0
report.exclude_lines = [
"pass"
]
[project]
name = "dbt_201"
version = "0.0.1"
#dynamic = ["version"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: Proprietary :: Internal",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
]
license = { file = "LICENSE.txt" }
description = "Dbt Sample Project"
readme = "README.md"
authors = [
{ name = "Sandeep Kadyan", email = "sandeep.kadyan@gmail.com" },
]
dependencies = [
"typer",
"xmlschema",
"fsspec",
"pygithub",
"s3fs",
]
[project.optional-dependencies]
dev = [
"pip-tools",
"twine",
"pre-commit",
"Flake8-pyproject",
"Flake8-html",
]
test = [
"pytest-cov",
"pytest-env",
"pytest-html",
]
[project.scripts]