Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
75063477
Commit
75063477
authored
3 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[python][ci] Run flake8 on dumux python module and test in ci
parent
ed69e488
No related branches found
No related tags found
1 merge request
!2752
[python][ci] Run flake8 on dumux python module and test in ci
Pipeline
#6787
passed
3 years ago
Stage: trigger
Stage: downstream modules
+2
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.flake8
+5
-0
5 additions, 0 deletions
.flake8
.gitlab-ci/default.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci/default.yml
with
7 additions
and
1 deletion
.flake8
0 → 100644
+
5
−
0
View file @
75063477
[flake8]
max-line-length = 100
per-file-ignores =
# imported but unused and unable to detect undefined names
__init__.py: F401, F403
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab-ci/default.yml
+
2
−
1
View file @
75063477
...
...
@@ -42,13 +42,14 @@ black (python):
-
black --check --verbose -- test/python
pylint (python)
:
pylint
-flake8
(python)
:
stage
:
linting
script
:
-
source bin/testing/ci-setup-python-env.sh
-
|
if [ -d build-cmake/python/dumux ] ; then
pylint --rcfile=.pylintrc build-cmake/python/dumux
flake8 build-cmake/python/dumux
fi
needs
:
-
job
:
configure
...
...
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