Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CICD 2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Mathias Thirion
CICD 2022
Commits
59da9320
Commit
59da9320
authored
2 years ago
by
Florentin Labelle
Browse files
Options
Downloads
Patches
Plain Diff
Add linting CI
parent
1b316b32
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
requirements.txt
+0
-1
0 additions, 1 deletion
requirements.txt
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
1
View file @
59da9320
...
...
@@ -7,7 +7,7 @@ stages:
download_dependencies
:
stage
:
dependencies
before_script
:
-
venv .venv
-
python -m
venv .venv
-
source .venv/bin/activate
script
:
-
pip install -r requirements.txt
...
...
@@ -22,6 +22,7 @@ pylint:
needs
:
-
download_dependencies
before_script
:
-
source .venv/bin/activate
-
pip install pylint
script
:
-
pylint calculator --fail-on=error
This diff is collapsed.
Click to expand it.
calculator/
requirements.txt
→
requirements.txt
+
0
−
1
View file @
59da9320
fastapi
[all]
uvicorn
[standard]
pylint
pytest
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