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
75601b58
Commit
75601b58
authored
1 year ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
Add mypy to Makefile and tox.ini
parent
541ff0ee
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!143
Release 0.15.0
,
!66
F mypy
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+5
-1
5 additions, 1 deletion
Makefile
tox.ini
+4
-2
4 additions, 2 deletions
tox.ini
with
9 additions
and
3 deletions
Makefile
+
5
−
1
View file @
75601b58
...
...
@@ -32,7 +32,7 @@ doc:
install
:
@
echo
"Not implemented yet, use pip for installation."
check
:
style lint
check
:
style lint
mypy
.PHONY
:
check
style
:
...
...
@@ -43,6 +43,10 @@ lint:
pylint
--unsafe-load-any-extension
=
y
-d
all
-e
E,F src/linkahead/common
.PHONY
:
lint
mypy
:
mypy src/linkahead
.PHONY
:
mypy
unittest
:
tox
-r
.PHONY
:
unittest
This diff is collapsed.
Click to expand it.
tox.ini
+
4
−
2
View file @
75601b58
[tox]
envlist
=
py37, py38, py39, py310, py311
envlist
=
py37, py38, py39, py310, py311
, py312
skip_missing_interpreters
=
true
[testenv]
deps
=
.
nose
py
nose
pytest
pytest-cov
mypy
jsonschema>=4.4.0
setuptools
commands
=
py.test --cov=caosdb -vv {posargs}
[flake8]
...
...
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