-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
76 lines (71 loc) · 2.31 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
[tool.poetry]
name = "django-pgviews-redux"
version = "0.10.1"
description = "Create and manage Postgres SQL Views in Django"
authors = ["Mikuláš Poul <[email protected]>"]
readme = "README.md"
packages = [{include = "django_pgviews"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"License :: Public Domain",
"License :: OSI Approved :: The Unlicense (Unlicense)",
]
include = ["UNLICENSE"]
repository = "https://github.com/xelixdev/django-pgviews-redux"
keywords = ["django", "views", "materialized views", "postgres"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.6"
[tool.ruff]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
select = [
# https://github.com/charliermarsh/ruff#pyflakes-f
"F",
# https://github.com/charliermarsh/ruff#pycodestyle-e-w
"E",
"W",
# https://github.com/charliermarsh/ruff#isort-i
"I",
# https://github.com/charliermarsh/ruff#pep8-naming-n
"N",
# https://github.com/charliermarsh/ruff#pyupgrade-up
"UP",
# https://github.com/charliermarsh/ruff#flake8-bugbear-b
"B",
# https://github.com/charliermarsh/ruff#flake8-comprehensions-c4
"C4",
# https://github.com/charliermarsh/ruff#flake8-debugger-t10
"T10",
# https://github.com/charliermarsh/ruff#flake8-pie-pie
"PIE",
# https://github.com/charliermarsh/ruff#flake8-return-ret
"RET",
# https://github.com/charliermarsh/ruff#flake8-simplify-sim
"SIM",
]
# Never enforce...
ignore = [
"E501", # line length violations
"PT004", # missing-fixture-name-underscore
"SIM108", # use-ternary-operator
"RET505", # superfluous-else-return
"RET506", # superfluous-else-raise
"RET507", # superfluous-else-continue
"RET508", # superfluous-else-break
"B027", # empty-method-without-abstract-decorator
]