Skip to content

Commit

Permalink
move load plugins to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 16, 2024
1 parent 2399973 commit b42710e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"pylint"
],
"pylint.args": [
"--rcfile=pyproject.toml",
"--load-plugins=pylint_django"
"--rcfile=pyproject.toml"
],
"python.testing.pytestArgs": [
"-n=auto",
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ extend-exclude = ".*/migrations/.*py"
[tool.pytest.ini_options]
env = ["DJANGO_SETTINGS_MODULE=manage"]

[tool.pylint.MASTER]
ignore-paths = [".*/migrations/.*py"]

[tool.mypy]
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
check_untyped_defs = true
Expand All @@ -28,6 +25,10 @@ init-hook = "import os; os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'manage'
[tool.pylint.format]
max-line-length = 80

[tool.pylint.MASTER]
ignore-paths = [".*/migrations/.*py"]
load-plugins = "pylint_django"

[tool.isort]
profile = "black"
line_length = 80
Expand Down

0 comments on commit b42710e

Please sign in to comment.