Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
84c0e46c
Unverified
Commit
84c0e46c
authored
4 years ago
by
Jonathan de Jong
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update mypy to 0.790, and move dependencies to extras (#8583)
parent
74f29284
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changelog.d/8583.misc
+1
-0
1 addition, 0 deletions
changelog.d/8583.misc
setup.py
+2
-0
2 additions, 0 deletions
setup.py
tox.ini
+1
-3
1 addition, 3 deletions
tox.ini
with
4 additions
and
3 deletions
changelog.d/8583.misc
0 → 100644
+
1
−
0
View file @
84c0e46c
Update `mypy` static type checker to 0.790.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
0
View file @
84c0e46c
...
...
@@ -102,6 +102,8 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
"
flake8
"
,
]
CONDITIONAL_REQUIREMENTS
[
"
mypy
"
]
=
[
"
mypy==0.790
"
,
"
mypy-zope
"
]
# Dependencies which are exclusively required by unit test code. This is
# NOT a list of all modules that are necessary to run the unit tests.
# Tests assume that all optional dependencies are installed.
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
3
View file @
84c0e46c
...
...
@@ -160,9 +160,7 @@ commands=
[testenv:mypy]
deps
=
{
[base]
deps}
mypy
=
=0.782
mypy-zope
extras
=
all
extras
=
all,mypy
commands
=
mypy
# To find all folders that pass mypy you run:
...
...
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