-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (80 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
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
[tool.setuptools_scm]
version_scheme = "post-release"
[project]
name = "sqlcompyre"
description = "Tool for comparing and inspecting data in SQL databases."
authors = [{ name = "Oliver Borchert", email = "[email protected]" }]
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"click",
"pydantic>=2,<3",
"pyyaml",
"sqlalchemy>=2,<3",
"tabulate",
"tqdm",
]
readme = "README.md"
requires-python = ">=3.11"
[project.urls]
repository = "https://github.com/quantco/sqlcompyre"
[tool.setuptools.packages.find]
include = ["sqlcompyre"]
namespaces = false
[project.scripts]
compyre = "sqlcompyre.cli.__main__:main"
[tool.docformatter]
black = true
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.venv
| build
| dist
)/
'''
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = [
"E501", # https://docs.astral.sh/ruff/faq/#is-the-ruff-linter-compatible-with-black
"N803", # https://docs.astral.sh/ruff/rules/invalid-argument-name
"N806", # https://docs.astral.sh/ruff/rules/non-lowercase-variable-in-function
]
select = [
# pyflakes
"F",
# pycodestyle
"E",
"W",
# isort
"I",
# pep8-naming
"N",
# pyupgrade
"UP",
]
[tool.mypy]
check_untyped_defs = true
exclude = ["docs/"]
ignore_missing_imports = true
no_implicit_optional = true
python_version = '3.11'
# If you run into `missing library stubs or py.typed marker` errors
# and no stubs are available for this library, you can add an override
# to ignore the missing imports.
# [[tool.mypy.overrides]]
# module = ["my_module"]
# ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--import-mode=importlib --cov=sqlcompyre --cov-report term-missing --color=yes"
markers = ["skip_dialect(dialect): skip this test for a certain dialect"]
testpaths = ["tests"]