-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After discussing with pstodulk a massive change introducing isort rules and fixing all occurrencies may be too annoying, so let's make it gradually - intoduce a handmade isort check for changed files only. This patch also introduces a lint_fix target that can do fix the order inplace automatically.
- Loading branch information
1 parent
2f13fbe
commit 2c73622
Showing
3 changed files
with
26 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[settings] | ||
line_length=119 | ||
known_first_party=leapp | ||
multi_line_output=3 | ||
honor_noqa=true | ||
# NOTE(ivasilev) Ideal solution would be order_by_type with classes exception (for ex. RPM) but this isn't supported | ||
# in 4.3.2 | ||
case_sensitive=false | ||
order_by_type=false |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
### Additional requirements | ||
|
||
flake8 | ||
flake8-import-order | ||
isort | ||
funcsigs==1.0.2 | ||
mock==2.0.0 | ||
pylint | ||
|