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

Support reading configuration from pytest.ini #117

Open
khink opened this issue Jun 27, 2018 · 0 comments
Open

Support reading configuration from pytest.ini #117

khink opened this issue Jun 27, 2018 · 0 comments

Comments

@khink
Copy link

khink commented Jun 27, 2018

I love Flake8lint.

It would be nice to also support reading config from pytest.ini (like currently from setup.cfg and tox.ini). We use pytest + https://github.com/tholo/pytest-flake8 for tests.

Example pytest.ini:

[pytest]
...
flake8-max-line-length = 119
flake8-ignore =
# missing docstrings
    D100
    D100
    D101
    D102
    D103
# blank lines after docstrings
    D204

If pytest-flake8 can read settings from setup.cfg or tox.ini it would also be helpful, i haven't figured out how. We don't use tox and don't need to, but maybe it's not too much work to just use tox.

I love Flake8lint. Thank you.

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

No branches or pull requests

1 participant