forked from swiftlang/swift-package-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In swiftlang/swift@d5326bf, @practicalswift updated the Swift project to no longer ignore individual linter rules globally. Update the SwiftPM project to do the same. In addition, fix all remaining linter rule violations. Most of these involved splitting up lines. One spot involved using `endswith()` with a tuple argument to check against multiple suffixes at once. To lint the Python code in the project: $ flake8 To install flake8: $ pip install flake8 See https://flake8.readthedocs.org/en/latest/ for details.
- Loading branch information
Showing
2 changed files
with
48 additions
and
21 deletions.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[flake8] | ||
filename = *.py,bootstrap | ||
ignore = E101,E111,E128,E265,E302,E402,E501,W191 | ||
max-line-length = 80 |
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