sappelhoff / pyprep

A Python implementation of the Preprocessing Pipeline (PREP) for EEG data
https://pyprep.readthedocs.io/en/latest/
MIT License
128 stars 30 forks source link

Adding flake8 to pre-commit-config #103

Closed joDancker closed 2 years ago

joDancker commented 2 years ago

I saw that you use flake8, black, and isort for styling pyprep and use pre-commit to enforce these styling features before commiting. Your pre-commit-config-file however, misses a flake8 hook. Is there any reason for this? Otherwise you could easily add it with

-   repo: https://github.com/pycqa/flake8
    rev: ``  # pick a git hash / tag to point to
    hooks:
    -   id: flake8
        additional_dependencies: [flake8-docstrings]