-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (61 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
72 lines (61 loc) · 1.73 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
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "squawk-alembic"
version = "0.3.3"
description = "Pre-commit hook to lint Alembic migration SQL with squawk"
packages = [{include = "squawk_alembic"}]
readme = "README.md"
homepage = "https://www.trykintsugi.com/"
repository = "https://github.com/kintsugi-tax/squawk-pre-commit"
authors = ["Kintsugi <engineering@trykintsugi.com>"]
license = "MIT"
keywords = ["pre-commit", "squawk", "alembic", "postgresql", "migration", "linter"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Database",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
python = ">=3.10"
squawk-cli = ">=2.0"
[tool.poetry.group.dev.dependencies]
alembic = "~=1.18.4"
pre-commit = "~=4.6.0"
pytest = "~=9.0.3"
ruff = "~=0.15.14"
pyrefly = "~=1.0.0"
pytest-cov = "~=7.1.0"
[tool.poetry.scripts]
squawk-alembic = "squawk_alembic.hook:main"
[tool.ruff]
exclude = [".venv"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
[tool.ruff.lint]
extend-select = ["I", "F"]
[tool.ruff.lint.isort]
known-first-party = ["squawk_alembic"]
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["E501"]
[tool.pyrefly]
project-excludes = [
"**/__pycache__",
"**/.*",
]
python-platform = "linux"
python-version = "3.12.0"
infer-with-first-use = false
search-path = ["."]
[tool.pytest.ini_options]
testpaths = ["tests"]