mirror of https://github.com/tqdm/tqdm.git
tests: update pre-commit
This commit is contained in:
parent
e213e88e55
commit
f75e74217b
|
@ -50,7 +50,6 @@ repos:
|
||||||
- flake8-debugger
|
- flake8-debugger
|
||||||
- flake8-isort
|
- flake8-isort
|
||||||
- flake8-string-format
|
- flake8-string-format
|
||||||
- flake8-type-annotations
|
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.12.0
|
rev: 5.12.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -104,13 +104,16 @@ exclude=.asv,.eggs,.tox,.ipynb_checkpoints,build,dist,.git,__pycache__
|
||||||
add_ignore=D400,D415
|
add_ignore=D400,D415
|
||||||
|
|
||||||
[yapf]
|
[yapf]
|
||||||
|
spaces_before_comment=15, 20
|
||||||
|
arithmetic_precedence_indication=true
|
||||||
|
allow_split_before_dict_value=false
|
||||||
coalesce_brackets=True
|
coalesce_brackets=True
|
||||||
column_limit=99
|
column_limit=99
|
||||||
each_dict_entry_on_separate_line=False
|
each_dict_entry_on_separate_line=False
|
||||||
i18n_comment=NOQA
|
|
||||||
space_between_ending_comma_and_closing_bracket=False
|
space_between_ending_comma_and_closing_bracket=False
|
||||||
split_before_named_assigns=False
|
split_before_named_assigns=False
|
||||||
split_before_closing_bracket=False
|
split_before_closing_bracket=False
|
||||||
|
blank_line_before_nested_class_or_def=False
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
line_length=99
|
line_length=99
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -10,6 +10,7 @@ if sys.argv[1].lower().strip() == 'make': # exec Makefile commands
|
||||||
import pymake
|
import pymake
|
||||||
fpath = path.join(src_dir, 'Makefile')
|
fpath = path.join(src_dir, 'Makefile')
|
||||||
pymake.main(['-f', fpath] + sys.argv[2:])
|
pymake.main(['-f', fpath] + sys.argv[2:])
|
||||||
|
|
||||||
# Stop to avoid setup.py raising non-standard command error
|
# Stop to avoid setup.py raising non-standard command error
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue