Skip to content
This repository was archived by the owner on Jun 19, 2020. It is now read-only.

adjust to mypy one based column offset #15

Merged
merged 1 commit into from
Jun 28, 2018
Merged

adjust to mypy one based column offset #15

merged 1 commit into from
Jun 28, 2018

Conversation

pixelb
Copy link
Contributor

@pixelb pixelb commented Jun 22, 2018

mypy has changed to one based offsets as of:
python/mypy#4475

mypy has changed to one based offsets as of:
python/mypy#4475
@ambv
Copy link
Owner

ambv commented Jun 22, 2018

Thanks for this, Padraig. I will look at the unrelated failure in a bit and we'll merge this.

@kaste kaste mentioned this pull request Jun 27, 2018
@ambv ambv merged commit a585176 into ambv:master Jun 28, 2018
@ambv
Copy link
Owner

ambv commented Jun 28, 2018

Thanks! ✨ 🍰 ✨

@kaste
Copy link
Contributor

kaste commented Jun 29, 2018

🙄 I don't think this is a good PR. The tests are end-to-end, so if they break we have to fix the implementation not the test. I did this in #19. flake8 expects that we report 0-based columns.

Ref: https://github.com/PyCQA/flake8/blob/eb6228b660a5194f201dcf8767f804f697756b79/src/flake8/style_guide.py#L383-L389

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants