Skip to content

Commit

Permalink
pre-commit: Enable black
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <stephen@that.guru>
  • Loading branch information
stephenfin committed Jul 31, 2023
1 parent bdb5e11 commit 101440e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ repos:
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
hooks:
- id: mypy
additional_dependencies:
- types-docutils
args: ['--explicit-package-bases']
exclude: |
(?x)(
docs/.* \
| tests/.*
)
10 changes: 0 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
# ones.
extensions = ['sphinx_click']

# Add any paths that contain templates here, relative to this directory.
templates_path = []

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
Expand Down Expand Up @@ -63,10 +60,3 @@
# a list of builtin themes.
#
html_theme = 'alabaster'


# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = []
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ check_untyped_defs = true
warn_unused_ignores = true
warn_return_any = true
strict_optional = false
exclude = (?x)(
docs/.* \
| tests/.*
)

0 comments on commit 101440e

Please sign in to comment.