a28601751e
* chore: Absolute imports * feat: Add new mesh util * chore: replace bumpversion original fork no longer maintained, move config * ci: remove old configuration files * ci: update github action * ci: add python 3.10 test * chore: update pre-commit hooks * ci: update supported python versions supported are 3.7, 3.8 and 3.9. 3.6 had EOL in december 2021. 3.10 has no pytorch distribution yet. * ci: add windows test * ci: update action less windows tests, pre commit * ci: fix typo * chore: run precommit for all files * ci: two step tests * ci: compatibility waits for style * fix: init file had missing imports * ci: add deployment script * ci: skip complete publish step * ci: cleanup readme
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: check-ast
|
|
- id: check-case-conflict
|
|
|
|
- repo: https://github.com/myint/autoflake
|
|
rev: v1.4
|
|
hooks:
|
|
- id: autoflake
|
|
|
|
- repo: http://github.com/PyCQA/isort
|
|
rev: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.931
|
|
hooks:
|
|
- id: mypy
|
|
files: prototorch
|
|
additional_dependencies: [types-pkg_resources]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-yapf
|
|
rev: v0.32.0
|
|
hooks:
|
|
- id: yapf
|
|
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
rev: v1.9.0
|
|
hooks:
|
|
- id: python-use-type-annotations
|
|
- id: python-no-log-warn
|
|
- id: python-check-blanket-noqa
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.31.0
|
|
hooks:
|
|
- id: pyupgrade
|
|
|
|
- repo: https://github.com/si-cim/gitlint
|
|
rev: v0.15.2-unofficial
|
|
hooks:
|
|
- id: gitlint
|
|
args: [--contrib=CT1, --ignore=B6, --msg-filename]
|