Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
poezio-omemo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Link Mauve
poezio-omemo
Commits
42488d69
Verified
Commit
42488d69
authored
Feb 16, 2020
by
Maxime Buquet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add linting (pylint / mypy)
Signed-off-by:
Maxime “pep” Buquet
<
pep@bouah.net
>
parent
3858d805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
.gitlab-ci.yml
.gitlab-ci.yml
+45
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
42488d69
stages
:
-
lint
.python-3.7
:
image
:
python:3.7
.python-3.8
:
image
:
python:3.8
.pylint
:
stage
:
lint
script
:
-
apt update && apt install -y libidn11-dev build-essential cmake
-
pip3 install pylint pyasn1-modules cffi --upgrade
-
pip3 install -e git+https://lab.louiz.org/poezio/slixmpp.git#egg=slixmpp
-
pip3 install -e git+https://lab.louiz.org/poezio/slixmpp-omemo.git#egg=slixmpp-omemo
-
pip3 install -e git+https://lab.louiz.org/poezio/poezio.git#egg=poezio
-
python3 setup.py install
-
pylint -E poezio_omemo
.mypy
:
stage
:
lint
script
:
-
pip3 install mypy
-
mypyc --ignore-missing-imports ./poezio_omemo
lint-3.7-pylint
:
extends
:
-
.python-3.7
-
.pylint
lint-3.8-pylint
:
extends
:
-
.python-3.8
-
.pylint
lint-3.7-mypy
:
extends
:
-
.python-3.7
-
.mypy
lint-3.8-mypy
:
extends
:
-
.python-3.8
-
.mypy
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment