Skip to content

Use more flexible language_version: python3#3839

Merged
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
asottile:more_flexible
Aug 20, 2018
Merged

Use more flexible language_version: python3#3839
RonnyPfannschmidt merged 1 commit into
pytest-dev:masterfrom
asottile:more_flexible

Conversation

@asottile

Copy link
Copy Markdown
Member

More and more are hitting this now that brew moved to python3.7. Here's a few reports:

Note that this is what upstream black does in their configuration: psf/black#430

Comment thread .pre-commit-config.yaml
- id: black
args: [--safe, --quiet]
language_version: python3.6
language_version: python3

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

question - if https://github.com/miki725/black/blob/f3e287a29ae6b209ab489ed66dac42f03137df7b/.pre-commit-hooks.yaml declares a language versions, why do we do the same?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

they haven't tagged a release with the changed value

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i see, then lets have a followup issue to sort out once they do ^^

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.05%) to 92.597% when pulling 4de247c on asottile:more_flexible into 308d789 on pytest-dev:master.

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.

4 participants