Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-pylib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
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
Code review analytics
Issue 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
caosdb
Software
caosdb-pylib
Commits
3dc23f7a
Commit
3dc23f7a
authored
3 years ago
by
Henrik tom Wörden
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: add mypy to check type hints
parent
fb1da439
No related branches found
No related tags found
2 merge requests
!143
Release 0.15.0
,
!66
F mypy
Pipeline
#11782
canceled
3 years ago
Stage: code_style
Stage: linting
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
unittests/docker/Dockerfile
+1
-1
1 addition, 1 deletion
unittests/docker/Dockerfile
with
7 additions
and
1 deletion
.gitlab-ci.yml
+
6
−
0
View file @
3dc23f7a
...
...
@@ -50,6 +50,12 @@ pylint:
-
pylint3 --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
allow_failure
:
true
mypy
:
tags
:
[
docker
]
stage
:
linting
script
:
-
mypy src/caosdb
allow_failure
:
true
# pylint tests for pycaosdb
test
:
...
...
This diff is collapsed.
Click to expand it.
unittests/docker/Dockerfile
+
1
−
1
View file @
3dc23f7a
...
...
@@ -7,4 +7,4 @@ RUN apt-get update && \
ARG
COMMIT="dev"
RUN
git clone
-b
dev https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git
&&
\
cd
caosdb-pylib
&&
git checkout
$COMMIT
&&
pip3
install
.
RUN
pip3
install
recommonmark sphinx-rtd-theme
RUN
pip3
install
recommonmark sphinx-rtd-theme
mypy
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