Skip to content

Commit

Permalink
set isort version and settings to match template, add git blame ignor…
Browse files Browse the repository at this point in the history
…e for isorting commit
  • Loading branch information
pacrob committed May 4, 2023
1 parent 6125085 commit cf14239
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ignore SHA that added isort
2f421ce6049dc74a1520280adf8c350c1c567e9f
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
'lint': [
"flake8==3.8.2",
"flake8-bugbear==20.1.4",
"isort>=5.10.1",
"mypy==0.910",
"pydocstyle>=6.0.0",
"types-setuptools",
"importlib-metadata<5.0;python_version<'3.8'",
"isort==5.11.4"
],
'benchmark': [
"termcolor>=1.1.0,<2.0.0",
Expand Down
15 changes: 5 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ envlist=
py39-docs

[isort]
profile=black
force_grid_wrap=1
multi_line_output=3
honor_noqa=true
float_to_top=true
combine_as_imports=true
force_sort_within_sections=true
include_trailing_comma=true
combine_as_imports=True
extra_standard_library=pytest
force_grid_wrap=1
force_sort_within_sections=True
known_first_party=eth
line_length=88
use_parentheses=true
multi_line_output=3
profile=black
# skip `__init__.py` files because sometimes order of initialization is important
skip=__init__.py

Expand Down

0 comments on commit cf14239

Please sign in to comment.