Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
77091d7e
Unverified
Commit
77091d7e
authored
6 years ago
by
Amber Brown
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3559 from matrix-org/rav/pep8_config
add config for pep8
parents
65d6a0e4
eed24893
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/3559.misc
+1
-0
1 addition, 0 deletions
changelog.d/3559.misc
setup.cfg
+8
-3
8 additions, 3 deletions
setup.cfg
with
9 additions
and
3 deletions
changelog.d/3559.misc
0 → 100644
+
1
−
0
View file @
77091d7e
add config for pep8
This diff is collapsed.
Click to expand it.
setup.cfg
+
8
−
3
View file @
77091d7e
...
...
@@ -14,12 +14,17 @@ ignore =
pylint.cfg
tox.ini
[
flake
8]
[
pep
8]
max-line-length
=
90
# W503 requires that binary operators be at the end, not start, of lines. Erik
doesn't like it.
# E203 is contrary to PEP8.
# W503 requires that binary operators be at the end, not start, of lines. Erik
#
doesn't like it.
E203 is contrary to PEP8.
ignore
=
W503,E203
[flake8]
# note that flake8 inherits the "ignore" settings from "pep8" (because it uses
# pep8 to do those checks), but not the "max-line-length" setting
max-line-length
=
90
[isort]
line_length
=
89
not_skip
=
__init__.py
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment