chore: upgrade black and mypy (#4399)

* chore: upgrade black and mypy

* chore: update black config

ignore generated files from ply

* chore: upgrade pre-commit plugins
This commit is contained in:
Noorhteen Raja NJ 2021-07-30 04:01:52 +05:30 committed by GitHub
parent 279d0ec638
commit 5dafceef47
Failed to generate hash of commit
3 changed files with 7 additions and 3 deletions

View file

@ -20,7 +20,7 @@ repos:
- python
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: check-case-conflict

View file

@ -32,3 +32,7 @@ exclude = '''
)/
)
'''
extend_exclude = '''
((xonsh/parser_table.py)|(xonsh/completion_parser_table.py))
'''

View file

@ -10,11 +10,11 @@ pytest-subprocess
prompt-toolkit>=3.0
pygments>=2.2
coverage>=5.3.1
black==21.5b0
black==21.7b0
pre-commit
# types related
mypy==0.902
mypy==0.910
types-ujson
# ensure tests run with the amalgamated (==production) xonsh