mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
tools/linter_lib/pyflakes.py:35: error: Argument 3 to "run_pyflakes" has incompatible type "List[Tuple[bytes, bytes]]"; expected "List[Tuple[str, str]]"
tools/linter_lib/custom_check.py:110: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:214: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:214: error: Argument "shebang_rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:502: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:502: error: Argument "shebang_rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:519: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:706: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:728: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:738: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:779: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
tools/linter_lib/custom_check.py:779: error: Argument "length_exclude" to "RuleList" has incompatible type "Set[str]"; expected "List[str]"
tools/linter_lib/custom_check.py:803: error: Argument "length_exclude" to "RuleList" has incompatible type "Set[str]"; expected "List[str]"
tools/linter_lib/custom_check.py:805: error: Unsupported operand types for + ("List[Rule]" and "List[Dict[str, Any]]")
tools/linter_lib/custom_check.py:819: error: Argument "rules" to "RuleList" has incompatible type "List[Dict[str, Any]]"; expected "List[Rule]"
These were missed the `zulint` package was missing PEP 561 type
annotation markers, and if it’d had them, mypy daemon mode would’ve
required us to set `follow_imports = skip` for it.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
# After editing this file, you MUST afterward run
|
|
# /tools/update-locked-requirements to update requirements/dev.txt.
|
|
# See requirements/README.md for more detail.
|
|
-r common.in
|
|
-r docs.in
|
|
|
|
# moto s3 mock
|
|
moto==1.3.13
|
|
|
|
# Needed for running tools/run-dev.py
|
|
Twisted==19.2.1
|
|
|
|
# Needed for documentation links test
|
|
Scrapy==1.7.2
|
|
|
|
# Needed to compute test coverage
|
|
coverage==4.5.3
|
|
|
|
# fake for LDAP testing
|
|
fakeldap==0.6.1
|
|
|
|
# For testing mock http requests
|
|
httpretty==0.9.6
|
|
|
|
# For sorting imports
|
|
isort==4.3.21
|
|
|
|
# for pep8 linter
|
|
pycodestyle==2.5.0
|
|
|
|
# Needed to run pyflakes linter
|
|
pyflakes==2.1.1
|
|
|
|
# Needed for watching file changes
|
|
pyinotify==0.9.6
|
|
|
|
# Needed to run tests in parallel
|
|
tblib==1.4.0
|
|
|
|
# Needed to lint Git commit messages
|
|
gitlint==0.12.0
|
|
|
|
# Needed for visualising cprofile reports
|
|
snakeviz==2.0.1
|
|
|
|
# Needed to sync translations from transifex
|
|
transifex-client==0.12.5
|
|
|
|
# Needed for creating digital ocean droplets
|
|
python-digitalocean==1.14.0
|
|
|
|
# Needed for updating the locked pip dependencies
|
|
pip-tools==2.0.2
|
|
|
|
# zulip's linting framework - zulint
|
|
-e git+https://github.com/zulip/zulint@9e0da9f6c9ffc617e0782ab69617f6bcf90a4271#egg=zulint==0.0.1
|
|
|
|
-r mypy.in
|