Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-commit: move pytest and pylint config to pyproject.toml #562

Merged
merged 1 commit into from
Oct 5, 2020

Commits on Oct 5, 2020

  1. Pre-commit: move pytest and pylint config to pyproject.toml

    Requirement of `pylint` is upped as support for `pyproject.toml` was
    only added in v2.6.0.
    
    Also remove all explicit marking of tests with the `aiida_profile`
    fixture. This is automatically loaded for the entire session by calling
    `pytest_plugins = ['aiida.manage.tests.pytest_fixtures']` in the
    `conftext.py`.
    
    Finally, move `yapf` pre-commit hook before the `pylint` one. Often
    `yapf` will correct mistakes that `pylint` will otherwise complain about.
    sphuber committed Oct 5, 2020
    Configuration menu
    Copy the full SHA
    9d6ea64 View commit details
    Browse the repository at this point in the history