Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
29e160e3
Commit
29e160e3
authored
5 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Replaced pycodestyle with flake8.
parent
beda5b39
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
29e160e3
pycodestyle
:
image
:
docker:stabl
e
flake8
:
image
:
python:3-alpin
e
tags
:
-
docker
before_script
:
-
apk add --no-cache py-
pip
-
pip install
pycodestyle
-
python -m pip install --upgrade
pip
-
pip
3
install
flake8
script
:
# Run pycodestyle
(PEP8
) check.
# Run
flake8 (
pycodestyle
+ pyflakes
) check.
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
# Ignored errors:
# - E128: continuation line under-indented for visual indent
...
...
@@ -14,4 +14,4 @@ pycodestyle:
# - E731: do not assign a lambda expression, use a def
# - W504: line break after binary operator (conflicts with old pep8 package)
# - W505: doc line too long
-
pycodestyle
--ignore=E128,E501,E731,W504,W505 .
-
flake8
--ignore=E128,E501,E731,W504,W505 .
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