Skip to content

Commit

Permalink
add isort
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 16, 2024
1 parent 9e3f870 commit f61e634
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"isort.path": [
".venv/bin/python",
"-m",
"isort"
],
"isort.args": [
"--settings-file=pyproject.toml"
],
"black-formatter.path": [
".venv/bin/python",
"-m",
Expand All @@ -13,6 +21,9 @@
"-m",
"mypy"
],
"mypy-type-checker.args": [
"--config-file=pyproject.toml"
],
"pylint.path": [
".venv/bin/python",
"-m",
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pylint = "==3.0.2"
pylint-django = "==2.5.5"
pygraphviz = "==1.11"
pytest-xdist = {version = "==3.5.0", extras = ["psutil"]}
isort = "==5.13.2"

[requires]
python_version = "3.8"
4 changes: 2 additions & 2 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ init-hook = "import os; os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'manage'

[tool.pylint.format]
max-line-length = 80

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

0 comments on commit f61e634

Please sign in to comment.