-
Notifications
You must be signed in to change notification settings - Fork 65
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
Test rules in pyflakes
directory
#271
base: gh/"ansley"/1/base
Are you sure you want to change the base?
The head ref may contain hidden characters: "gh/\"ansley\"/1/head"
Conversation
[ghstack-poisoned]
@@ -72,7 +72,7 @@ version-file = "src/fixit/__version__.py" | |||
features = ["dev", "pretty"] | |||
|
|||
[tool.hatch.envs.default.scripts] | |||
test = "python -m fixit.tests" | |||
test = "python3 -m fixit.tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this change needed? Hatch environments should be controlled enough that just python
will always work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, didn't know that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this being "python3" is what's causing the CI failures on windows. My guess is that the virtualenv doesn't have a python3.exe in it, and so it's finding a random non-venv runtime, and therefore can't find/import fixit.
[ghstack-poisoned]
Stack from ghstack (oldest at bottom):
pyflakes
directory #271