forked from ijasperyang/django-survey
-
-
Notifications
You must be signed in to change notification settings - Fork 144
/
pyproject.toml
122 lines (114 loc) · 3.14 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=67.5.1", "wheel" ]
[project]
name = "django-survey-and-report"
version = "1.4.8"
description = "A django survey app that can export results as CSV or PDF using your native language."
readme = "README.md"
license = { text = "AGPL-3.0" }
authors = [
{ email = "pierre.sassoulas@gmail.com", name = "Pierre SASSOULAS" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: Chinese (Traditional)",
"Natural Language :: Dutch",
"Natural Language :: English",
"Natural Language :: French",
"Natural Language :: German",
"Natural Language :: Indonesian",
"Natural Language :: Japanese",
"Natural Language :: Polish",
"Natural Language :: Portuguese",
"Natural Language :: Russian",
"Natural Language :: Spanish",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
dependencies = [
"django>=2.2,<5",
"django-bootstrap-form>=3.4",
"django-registration>=3",
"django-tastypie>=0.14.2",
"ordereddict>=1.1",
"pytz>=2018.9",
"pyyaml>=4.2b1",
]
optional-dependencies.dev = [
"colorama",
"coverage",
"coveralls",
"django-rosetta",
"pre-commit",
"pylint>=3.3.1",
"pylint-django",
"pysankeybeta~=1.3.0",
"pytest",
"pytest-django",
"python-coveralls",
"setuptools",
]
optional-dependencies.sankey = [
"pysankeybeta~=1.3.0",
]
urls."Bug Tracker" = "https://github.com/Pierre-Sassoulas/django-survey/issues"
urls."Source Code" = "https://github.com/Pierre-Sassoulas/django-survey"
[tool.setuptools.packages.find]
include = [ "survey*" ]
[tool.ruff]
line-length = 120
lint.select = [
"B", # bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"RUF", # ruff
"UP", # pyupgrade
"W", # pycodestyle
]
lint.ignore = [
"RUF012", # mutable default values in class attributes
]
[tool.pylint.main]
load-plugins = "pylint_django"
disable = [
# I0011 Warning locally suppressed using disable-msg
"I0011",
"no-member",
"missing-docstring", # We don't want docstring everywhere
"too-few-public-methods", # More harmful than beneficial in django project
"too-many-arguments",
"too-many-instance-attributes",
# TODO Fix
"too-many-positional-arguments", # Bad API
"unspecified-encoding",
"inconsistent-return-statements",
"consider-using-with",
"fixme",
"no-else-return",
"imported-auth-user",
"unused-argument",
"arguments-differ",
"consider-using-f-string",
"too-many-branches",
"redefined-builtin",
"superfluous-parens",
"useless-parent-delegation",
"unused-private-member",
"duplicate-code",
"attribute-defined-outside-init",
]
ignore = "migrations"
good-names = "i,j,k,ex,Run,_,f,e,maxDiff"
max-line-length = 120