Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
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
Timo Ley
synapse
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
No related tags found
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"] = [
...
@@ -102,6 +102,8 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
"
flake8
"
,
"
flake8
"
,
]
]
CONDITIONAL_REQUIREMENTS
[
"
mypy
"
]
=
[
"
mypy==0.790
"
,
"
mypy-zope
"
]
# Dependencies which are exclusively required by unit test code. This is
# 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.
# NOT a list of all modules that are necessary to run the unit tests.
# Tests assume that all optional dependencies are installed.
# 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=
...
@@ -160,9 +160,7 @@ commands=
[testenv:mypy]
[testenv:mypy]
deps
=
deps
=
{
[base]
deps}
{
[base]
deps}
mypy
=
=0.782
extras
=
all,mypy
mypy-zope
extras
=
all
commands
=
mypy
commands
=
mypy
# To find all folders that pass mypy you run:
# 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