Skip to content
Snippets Groups Projects
Verified Commit fcd04233 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix lint

parent dbc5d5e7
No related branches found
No related tags found
1 merge request!1501Prepare relase 3.1.6
from typing import Optional
import django.apps
from django.core.checks import Tags, Warning, register
from django.core.checks import Tags, Warning, register # noqa: A004
from .mixins import ExtensibleModel, GlobalPermissionModel, PureDjangoModel
from .util.apps import AppConfig
......
......@@ -146,7 +146,6 @@ safety = "^2.3.5"
flake8 = "^6.0.0"
flake8-django = "^1.0.0"
flake8-fixme = "^1.1.1"
flake8-mypy = "^17.8.0"
flake8-bandit = "^4.1.1"
flake8-builtins = "^2.0.0"
flake8-docstrings = "^1.5.0"
......
......@@ -61,7 +61,7 @@ commands =
[flake8]
max_line_length = 100
exclude = migrations,tests
ignore = BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05
ignore = BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05,A005
[isort]
profile = black
......@@ -72,18 +72,6 @@ known_django = django
skip = migrations
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
plugins = mypy_django_plugin.main
python_version = 3.8
platform = linux
show_column_numbers = True
follow_imports = skip
ignore_missing_imports = True
cache_dir = /dev/null
[mypy.plugins.django-stubs]
django_settings_module = aleksis.core.settings
[pytest]
DJANGO_SETTINGS_MODULE = aleksis.core.settings
junit_family = legacy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment