mirror of https://github.com/ArduPilot/ardupilot
pre-commit: Disable isort and mypy temporarily
* Solves #23187 Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
fd32425d24
commit
a76ab91cbb
|
@ -36,18 +36,19 @@ repos:
|
||||||
- id: check-xml
|
- id: check-xml
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
|
||||||
# Use to sort python imports by name and put system import first.
|
# Disable isort and mypy temporarily due to config conflicts
|
||||||
- repo: https://github.com/pycqa/isort
|
# # Use to sort python imports by name and put system import first.
|
||||||
rev: 5.10.1
|
# - repo: https://github.com/pycqa/isort
|
||||||
hooks:
|
# rev: 5.10.1
|
||||||
- id: isort
|
# hooks:
|
||||||
args: [--check-only]
|
# - id: isort
|
||||||
name: isort (python)
|
# args: [--check-only]
|
||||||
|
# name: isort (python)
|
||||||
|
|
||||||
# Use to check python typing to show errors.
|
# # Use to check python typing to show errors.
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
# - repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: 'v0.950'
|
# rev: 'v0.950'
|
||||||
hooks:
|
# hooks:
|
||||||
- id: mypy
|
# - id: mypy
|
||||||
args: [--no-strict-optional, --ignore-missing-imports]
|
# args: [--no-strict-optional, --ignore-missing-imports]
|
||||||
additional_dependencies: [types-PyYAML, types-requests]
|
# additional_dependencies: [types-PyYAML, types-requests]
|
||||||
|
|
Loading…
Reference in New Issue