Skip to content

Commit

Permalink
tests: update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Mar 3, 2023
1 parent e213e88 commit f75e742
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ repos:
- flake8-debugger
- flake8-isort
- flake8-string-format
- flake8-type-annotations
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
Expand Down
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ exclude=.asv,.eggs,.tox,.ipynb_checkpoints,build,dist,.git,__pycache__
add_ignore=D400,D415

[yapf]
spaces_before_comment=15, 20
arithmetic_precedence_indication=true
allow_split_before_dict_value=false
coalesce_brackets=True
column_limit=99
each_dict_entry_on_separate_line=False
i18n_comment=NOQA
space_between_ending_comma_and_closing_bracket=False
split_before_named_assigns=False
split_before_closing_bracket=False
blank_line_before_nested_class_or_def=False

[isort]
line_length=99
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import pymake
fpath = path.join(src_dir, 'Makefile')
pymake.main(['-f', fpath] + sys.argv[2:])

# Stop to avoid setup.py raising non-standard command error
sys.exit(0)

Expand Down

0 comments on commit f75e742

Please sign in to comment.