-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8578c54
commit 16af3fd
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,16 @@ build-backend = "hatchling.build" | |
requires = ["hatchling"] | ||
|
||
[project] | ||
authors = [{name = "Josh Thomas", email = "[email protected]"}] | ||
authors = [{ name = "Josh Thomas", email = "[email protected]" }] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Django", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.2", | ||
"Framework :: Django :: 5.0", | ||
"Framework :: Wagtail", | ||
"Framework :: Wagtail :: 2", | ||
"Framework :: Wagtail :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
|
@@ -18,13 +21,13 @@ classifiers = [ | |
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython" | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
] | ||
dependencies = ["wagtail>=5.2"] | ||
description = 'Add Heroicons to your Wagtail admin' | ||
dynamic = ["version"] | ||
keywords = [] | ||
license = {file = "LICENSE"} | ||
license = { file = "LICENSE" } | ||
name = "wagtail-heroicons" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
|
@@ -43,7 +46,7 @@ dev = [ | |
"pytest-cov", | ||
"pytest-randomly", | ||
"pytest-xdist", | ||
"ruff" | ||
"ruff", | ||
] | ||
lint = ["pre-commit"] | ||
|
||
|
@@ -71,7 +74,7 @@ exclude_lines = [ | |
"if not DEBUG:", | ||
"if settings.DEBUG:", | ||
"if TYPE_CHECKING:", | ||
'def __str__\(self\)\s?\-?\>?\s?\w*\:' | ||
'def __str__\(self\)\s?\-?\>?\s?\w*\:', | ||
] | ||
fail_under = 75 | ||
|
||
|
@@ -94,9 +97,6 @@ check_untyped_defs = true | |
exclude = "docs/.*\\.py$" | ||
mypy_path = "src/" | ||
no_implicit_optional = true | ||
plugins = [ | ||
"mypy_django_plugin.main" | ||
] | ||
warn_redundant_casts = true | ||
warn_unused_configs = true | ||
warn_unused_ignores = true | ||
|
@@ -128,7 +128,7 @@ exclude = [ | |
"dist", | ||
"migrations", | ||
"node_modules", | ||
"venv" | ||
"venv", | ||
] | ||
extend-include = ["*.pyi?"] | ||
indent-width = 4 | ||
|
@@ -150,13 +150,13 @@ quote-style = "double" | |
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" | ||
# Allow autofix for all enabled rules (when `--fix`) is provided. | ||
fixable = ["A", "B", "C", "D", "E", "F", "I"] | ||
ignore = ["E501", "E741"] # temporary | ||
ignore = ["E501", "E741"] # temporary | ||
select = [ | ||
"B", # flake8-bugbear | ||
"E", # Pycodestyle | ||
"F", # Pyflakes | ||
"I", # isort | ||
"UP" # pyupgrade | ||
"UP", # pyupgrade | ||
] | ||
unfixable = [] | ||
|
||
|