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

Add support for config file #59

Closed
ljades opened this issue Nov 5, 2019 · 6 comments
Closed

Add support for config file #59

ljades opened this issue Nov 5, 2019 · 6 comments

Comments

@ljades
Copy link

ljades commented Nov 5, 2019

Can we have the ability to set up a config in a setup.cfg (which also helps it run in tandem with flake8's configuration) for which parts of the autolinter we want to run by default?

@fbidu
Copy link

fbidu commented Aug 23, 2020

Hi @myint, thanks for this project!

I have just added it to my personal cookiecutter and came here to look for pyproject.toml support. Is this kind of support on your roadmap? If so, I could try my hand at a PR. I've never written a support for pyproject.toml but it seems like fun.

Thanks & have a great weekend

@nameer
Copy link

nameer commented Dec 4, 2021

Any update on this?

@qci-amos
Copy link

qci-amos commented May 4, 2022

There is a workaround: https://github.com/quwac/pyproject-autoflake

However, there doesn't appear to be a way to either pass args or use pyproject-autoflake with pre-commit:
https://github.com/PyCQA/autoflake/blob/master/.pre-commit-hooks.yaml

@ChihweiLHBird
Copy link

Support config in pyproject.toml is another option. Wondering if there is any update on this issue.

@ed-wright
Copy link

Hi All, autoflake 1.5.0 now supports configuration via pyproject.toml or setup.cfg https://github.com/PyCQA/autoflake#configuration

@fsouza
Copy link
Collaborator

fsouza commented Sep 16, 2022

Oh I had missed this, @ed-wright thanks for bringing it up!

@fsouza fsouza closed this as completed Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants