-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.cfg
117 lines (109 loc) · 3.12 KB
/
setup.cfg
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
[metadata]
name = wagtail_parler
version = attr: wagtail_parler.__version__
url = https://github.com/webu/wagtail-parler
author = Webu
author_email = [email protected]
description = Brings "omelette du fromage" 🧀 from parler into wagtail 🐦 (via wagtail snippets or modeladmin)
long_description = file: README.md
long_description_content_type = text/markdown
license = BSD-3-Clause
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Framework :: Django
Framework :: Django :: 4.2
Framework :: Django :: 5.0
Framework :: Wagtail
Framework :: Wagtail :: 5
Framework :: Wagtail :: 6
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules
project_urls =
Source = https://github.com/webu/wagtail-parler
Tracker = https://github.com/webu/wagtail-parler/issues
Documentation = https://wagtail-parler.readthedocs.io/en/latest/
[options]
python_requires = >=3.9
packages = find:
include_package_data = true
zip_safe = false
install_requires =
Django>=4.2
wagtail>=5.0
django-parler>=2.3
[options.extras_require]
testing =
requests
beautifulsoup4
coverage>=3.7.0
black
flake8
mypy
types-requests
[flake8]
exclude = build,.git,.tox,./wagtail_parler_tests/.env,./.venv,docs/.*/,./wagtail_parler_tests/settings.py
max-line-length = 99
[black]
line-length = 99
include = \.pyi?$
exclude = \.git
| python-env
| migrations
| \.tox
| \.venv
| build
| dist
[isort]
profile="black"
line_length = 99
known_django = ["django"]
known_pylib = ["dateutil"]
known_third_party = ["parler", "wagtail"]
known_first_party = ["wagtail_parler"]
indent = ' '
multi_line_output = 3
length_sort = false
force_single_line = true
default_section = "THIRDPARTY"
sections = ["FUTURE", "STDLIB", "PYLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
combine_as_imports = true
import_heading_future = "Future imports"
import_heading_stdlib = "Standard libs"
import_heading_pylib = "Python libs"
import_heading_django = "Django imports"
import_heading_thirdparty = "Third Party"
import_heading_firstparty = "wagtail / parler"
import_heading_localfolder = "Local Apps"
force_sort_within_sections=true
[mypy]
ignore_missing_imports = True
warn_unused_configs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
no_implicit_reexport = True
strict_equality = True
[djlint]
profile = "django"
preserve_blank_lines = true
format_js = false
format_css = true
[pyright]
exclude = ["python-env"]
venvPath = "."
venv = "./python-env"