-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (47 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
63 lines (47 loc) · 1.28 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
55
56
57
58
59
60
61
62
63
[project]
name = "readsql"
version = "1.1.0"
description = "Convert SQL to most human readable format"
authors = [{ name = "Azis", email = "azuolas.krusna@yahoo.com" }]
maintainers = [{ name = "Azis", email = "azuolas.krusna@yahoo.com" }]
license = "MIT"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["SQL", "Lint", "Python"]
dependencies = []
[project.optional-dependencies]
dev = ["pytest>=7.0"]
[project.scripts]
readsql = "readsql.__main__:main"
[project.urls]
Repository = "https://github.com/AzisK/readsql/"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = ["tests"]
[tool.hatch.build.targets.wheel]
packages = ["readsql"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
# Test fixtures intentionally use f-strings without placeholders to test SQL formatting
"tests/*_example*.py" = ["F541"]
[tool.ruff.format]
quote-style = "single"
# Exclude test fixtures from formatting to preserve their exact structure
exclude = ["tests/*_example*.py"]
[dependency-groups]
dev = [
"ruff>=0.14.13",
"mypy>=1.0.0",
]
[tool.mypy]
python_version = "3.9"
strict = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true