https://github.com/lmfit/lmfit-py
Tip revision: 60ed7602e4c747e96034e130960dc3ffa9c0ed79 authored by reneeotten on 02 May 2020, 03:45:06 UTC
MAINT: also remove lmfit.ui from setup.py
MAINT: also remove lmfit.ui from setup.py
Tip revision: 60ed760
.pre-commit-config.yaml
exclude: 'versioneer.py|lmfit/_version|doc/conf.py'
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.3.0
hooks:
- id: pyupgrade
# for now don't force to change from %-operator to {}
args: [--keep-percent-format, --py3-plus]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-ast
- id: check-builtin-literals
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: requirements-txt-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: mixed-line-ending
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
additional_dependencies: [flake8-deprecated, flake8-mutable]
- repo: local
hooks:
- id: rstcheck
name: rstcheck
entry: rstcheck
files: '.rst'
language: python
additional_dependencies: [rstcheck, sphinx]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.5.1
hooks:
- id: rst-backticks
- repo: https://github.com/codespell-project/codespell
rev: v1.16.0
hooks:
- id: codespell
files: '.py|.rst'
exclude: 'doc/doc_examples_to_gallery.py'
# escaped characters currently do not work correctly
# so \nnumber is considered a spelling error....
args: [-L nnumber]
- repo: https://github.com/asottile/yesqa
rev: v1.1.0
hooks:
- id: yesqa