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

Config with pure python #49

Merged
merged 14 commits into from Sep 6, 2021
Merged

Config with pure python #49

merged 14 commits into from Sep 6, 2021

Conversation

mauritsvanrees
Copy link
Member

With autopep8 now.

mauritsvanrees and others added 14 commits September 2, 2021 10:30
With `--ignore W690,E711,E721 --aggressive`
The old way worked, but gave a linting error because unicode is not defined.
This is not called during the tests, and this results in less coverage.
We had 100% test coverage previously, but this dropped to around 99.11 percent when using the new default in tox.ini:

```
[coverage:run]
branch = True
```

With branch=False, the coverage would be back at 100 percent,
but I don't see a way to configure this in meta.toml, and it may be better to see the actual coverage.

We should add more tests to cover the untested branches.
For now, we lower our expectations.
I mixed up Python 2 and 3 in the try/except comment.

Co-authored-by: Michael Howitz <mh@gocept.com>
Copy link
Member

@icemac icemac left a comment

Choose a reason for hiding this comment

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

LGTM from scanning through the code.

@icemac icemac merged commit 53141af into master Sep 6, 2021
@icemac icemac deleted the config-with-pure-python-autopep8 branch September 6, 2021 06:11
@icemac
Copy link
Member

icemac commented Sep 6, 2021

Thank you for this PR. 😃

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.

None yet

2 participants