https://github.com/lmfit/lmfit-py
Revision d7b408baa64821f4356cff9c32a199bc53becd93 authored by Matt Newville on 29 August 2019, 17:07:38 UTC, committed by GitHub on 29 August 2019, 17:07:38 UTC
2 parent s 6478b7d + d76a546
Raw File
Tip revision: d7b408baa64821f4356cff9c32a199bc53becd93 authored by Matt Newville on 29 August 2019, 17:07:38 UTC
Merge pull request #586 from reneeotten/nan_policy_message
Tip revision: d7b408b
.pre-commit-config.yaml
exclude: 'versioneer.py|lmfit/_version|doc/conf.py'

repos:
-   repo: https://github.com/asottile/pyupgrade
    rev: v1.23.0
    hooks:
    -   id: pyupgrade
        # for now don't force to change from %-operator to {}
        args: [--keep-percent-format]

-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.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

-   repo: https://gitlab.com/pycqa/flake8
    rev: 3.7.8
    hooks:
    -   id: flake8
        exclude: 'lmfit/__init__.py|lmfit/ui/__init__.py'
        args: ['--ignore=E121,E123,E126,E226,W503,W504,E501,E731']

-   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.4.1
    hooks:
    -   id: rst-backticks
back to top