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

build: Exclude generated Tutor configuration from flake8 tests #67

Merged
merged 1 commit into from
Dec 14, 2023

Commits on Dec 14, 2023

  1. build: Exclude generated Tutor configuration from flake8 tests

    Until Tutor 17, just enabling a plugin with "tutor plugin enable"
    would not recreate the configuration, meaning the
    tests/tutor-sandbox/env directory would remain empty.
    
    As of overhangio/tutor#957, however,
    "tutor plugin enable" does automatically also run "tutor config save",
    generating a full Tutor configuration.
    
    This means that unless configured otherwise, with Tutor 17 our flake8
    checks would test code generated by Tutor, rather than just that
    generated by our plugin.
    
    Thus, to make our tests not break once we bump our dependencies to
    support Tutor 17, exclude the tests/tutor-sandbox/env checks from
    flake8.
    fghaas committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    18ee120 View commit details
    Browse the repository at this point in the history