-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (44 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
54 lines (44 loc) · 1.16 KB
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
[tool.poetry]
name = "sql_metadata"
version = "3.0.0"
license="MIT"
description = "Uses sqlglot to parse SQL queries and extract metadata"
authors = ["Maciej Brencz <[email protected]>", "Radosław Drążkiewicz <[email protected]>"]
readme = "README.md"
homepage = "https://github.com/macbre/sql-metadata"
repository = "https://github.com/macbre/sql-metadata"
packages = [
{ include="sql_metadata" }
]
[tool.poetry.dependencies]
python = "^3.10"
sqlglot = "^30.7.0"
[tool.poetry.group.dev.dependencies]
coverage = {extras = ["toml"], version = "^7.13"}
pytest = "^9.0.3"
pytest-cov = "^7.1.0"
ruff = "^0.15"
mypy = "^1.20"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "I"]
[tool.ruff.lint.mccabe]
max-complexity = 8
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
check_untyped_defs = true
disallow_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
show_missing = true
fail_under = 100