Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lexworkers
polem
Commits
030555b5
Commit
030555b5
authored
Jul 3, 2020
by
leszeks
Browse files
Options
Downloads
Patches
Plain Diff
adding CI
parent
474d61e9
No related branches found
No related tags found
1 merge request
!4
Polem2rancher
Pipeline
#582
failed
Jul 3, 2020
Stage: check_style
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+44
-0
44 additions, 0 deletions
tox.ini
with
44 additions
and
0 deletions
tox.ini
0 → 100644
+
44
−
0
View file @
030555b5
[tox]
envlist
=
pep8,docstyle
skipsdist
=
True
[testenv:pep8]
deps
=
flake8
basepython
=
python3
commands
=
flake8
{posargs}
[testenv:docstyle]
deps
=
pydocstyle
basepython
=
python3
commands
=
pydocstyle
--verbose
{posargs}
[flake8]
# W504 skipped because it is overeager and unnecessary
ignore
=
W504
show-source
=
True
exclude
=
.git,.venv,.tox,dist,doc,*egg,build,venv
import-order-style
=
pep8
max-line-length
=
80
[pydocstyle]
# D104 Missing docstring in public package
# D203 1 blank line required before class docstring
# D213 Multi-line docstring summary should start at the second line
# D214 Section is over-indented
# D215 Section underline is over-indented
# D401 First line should be in imperative mood; try rephrasing
# D405 Section name should be properly capitalized
# D406 Section name should end with a newline
# D407 Missing dashed underline after section
# D408 Section underline should be in the line following the section’s name
# D409 Section underline should match the length of its name
# D410 Missing blank line after section
# D411 Missing blank line before section
ignore
=
D104,D203,D213,D214,D215,D401,D405,D406,D407,D408,D409,D410,D411
match-dir
=
^(?!
\.
tox|venv).*
match
=
^(?!setup).*
\.
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