Skip to content

Commit

Permalink
Fix core nesting (#709)
Browse files Browse the repository at this point in the history
* Fix summary validation

* Fix materials core endpoint nesting

* Fix endpoint tags

* Rename base mat and mol endpoints to core

* Remove unused import

* Update pre-commit
  • Loading branch information
munrojm committed May 2, 2023
1 parent d80071e commit beb7524
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
default_stages: [commit]

default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.261
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: flake8
- id: ruff
args: [--fix, --ignore, "D,E501"]

- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black-jupyter

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: black
language_version: python3.8
- id: check-case-conflict
- id: check-symlinks
- id: check-yaml
- id: destroyed-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/pycqa/isort
rev: 5.12.0
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: isort
files: 'emmet-core/.*'
- id: codespell
stages: [commit, commit-msg]
exclude_types: [json, bib, svg]
args: [--ignore-words-list, "mater,fwe,te"]

0 comments on commit beb7524

Please sign in to comment.