-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
1 changed file
with
27 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |