Skip to content

Commit

Permalink
Move docstrfmt config to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jul 30, 2021
1 parent 4b5cee0 commit e7f63b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pre_push.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def run_static():
success &= do_process(["flynt", "-q", "-tc", "-ll", "1000", "."])
# needs to be first because flynt is not black compliant
success &= do_process(["black", "."])
success &= do_process(["docstrfmt", "-e", "docs/examples", "."])
success &= do_process(["docstrfmt", "."])
success &= do_process(["isort", "."])
# Linters
success &= do_process(
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
extend_exclude = '/(\.venv.*)/'
line-length = 88

[tool.docstrfmt]
extend_exclude = ['./docs/examples/']

[tool.isort]
profile = "black"
profile = 'black'
skip_glob = '.venv*'

0 comments on commit e7f63b1

Please sign in to comment.