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

Perform python version check earlier #269

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

LawrenceEsswood
Copy link
Contributor

Thought it would be nice to just have a single file where we bump the version to the maximum of all the requirements we have (that can safely be included first), for at least a couple of the top-level scripts. I left a more permissive noqa rather than noqa: E402 on some of the imports because nothing is actually imported and this would fail another flake8 check.

@@ -12,6 +12,7 @@
from pathlib import Path

sys.path.append(str(Path(__file__).parent.parent))
import pycheribuild.check_version # noqa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably don't need this for the tests, but adding it to the main entry point seems reasonable.

@arichardson arichardson requested a review from jrtc27 February 1, 2022 18:21
@arichardson arichardson changed the base branch from master to main April 22, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants