Skip to content

Commit

Permalink
Remove explicit skipping of removed folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Paul committed Sep 23, 2020
1 parent fd651f1 commit 9abd0bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
19 changes: 9 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: 'docs/|nwsc/'
exclude: 'docs/'

repos:

Expand All @@ -12,15 +12,15 @@ repos:
- id: check-yaml
- id: double-quote-string-fixer

# - repo: https://github.com/ambv/black
# rev: 20.8b1
# hooks:
# - id: black
- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black

# - repo: https://github.com/keewis/blackdoc
# rev: v0.1.2
# hooks:
# - id: blackdoc
- repo: https://github.com/keewis/blackdoc
rev: v0.1.2
hooks:
- id: blackdoc

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
Expand All @@ -31,7 +31,6 @@ repos:
rev: v2.2.0
hooks:
- id: seed-isort-config
args: [--exclude=nwsc/*]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.5.3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]
exclude = 'nwsc\/|docs\/'
exclude = 'docs\/'
line-length = 100
target-version = ['py37']
skip-string-normalization = true
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tag = False
[bumpversion:file:setup.py]

[flake8]
exclude = docs,nwsc
exclude = docs
ignore = E203,E266,E501,W503,E722,E402,C901,E731
max-line-length = 100
max-complexity = 18
Expand All @@ -20,7 +20,6 @@ include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
line_length = 100
skip_glob = nwsc/**
skip =
docs/source/conf.py
setup.py
Expand Down

0 comments on commit 9abd0bb

Please sign in to comment.