-
Notifications
You must be signed in to change notification settings - Fork 108
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
Script cleanups #67
Script cleanups #67
Conversation
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.
LGTM, just a question on keeping autoflake8
in 👍
${PREFIX}autoflake --in-place --recursive $SOURCE_FILES | ||
${PREFIX}isort --project=httpcore --recursive --apply $SOURCE_FILES | ||
${PREFIX}black --exclude 'httpcore/_sync/.*' --exclude 'tests/sync_tests/.*' --target-version=py36 $SOURCE_FILES | ||
${PREFIX}black --exclude '(httpcore/_sync|tests/sync_tests)/.*' --target-version=py37 ${PACKAGE} 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.
Thoughts on keeping autoflake
? If we're adding flake8
to check
it's definitely nice to have a quick way to fix things when they're broken.
@euri10 wrong button? |
Phone in my pocket 🙄 sorry |
PYTHONPATH
, since we've got a-e .
in the requirements.txt anyway.black
andflake8
to the checks.PREFIX
style everywhere.setup.cfg
in favour of arguments in the scripts.