Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rabbitmq_agents
Manage
Activity
Members
Labels
Plan
Issues
16
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
rc
rabbitmq_agents
Merge requests
!131
WIP: Fix linting
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
WIP: Fix linting
github/fork/diedpigs/fix-linting
into
feat-cod-rmq
Overview
2
Commits
36
Pipelines
0
Changes
29
Open
Bo-Chun Chen
requested to merge
github/fork/diedpigs/fix-linting
into
feat-cod-rmq
3 years ago
Overview
2
Commits
36
Pipelines
0
Changes
29
Expand
Based on #125
👍
0
👎
0
Merge request reports
Compare
feat-cod-rmq
version 1
1dadaddf
1 year ago
feat-cod-rmq (base)
and
version 1
latest version
1dadaddf
36 commits,
1 year ago
version 1
1dadaddf
36 commits,
1 year ago
29 files
+
289
−
221
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
29
Search (e.g. *.vue) (Ctrl+P)
.github/workflows/linting.yaml
+
15
−
3
Options
@@ -19,15 +19,27 @@ jobs:
architecture
:
'
x64'
-
name
:
find trailing whitespace
uses
:
harupy/find-trailing-whitespace@master
-
name
:
Install dependencies
-
name
:
Install tools
if
:
always()
run
:
|
python -m pip install --upgrade pip
pip install flake8
pip install flake8
==4.0.1 pylint==2.13.8
#if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
-
name
:
Run black
uses
:
psf/black@stable
with
:
# Default value
#options: "--check --diff"
#src: "."
version
:
"
22.3.0"
-
name
:
Lint with flake8
run
:
|
# stop the build if there are Python syntax errors or undefined names
#flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 .
--count --max-line-length=79 --show-source --statistics
flake8 .
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
#flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
name
:
Lint with pylint
if
:
always()
run
:
|
pylint prod_rmq_agents/*.py dev_rmq_agents/*.py *.py
Loading