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

pep257 configuration file #58

Closed
kdeldycke opened this issue Oct 7, 2013 · 14 comments

Comments

Projects
None yet
7 participants
@kdeldycke
Copy link

commented Oct 7, 2013

pep8 has ~/.config/pep8.
PyLint has ~/.pylintrc.
Flake8 has ~/.config/flake8.
Even PyChecker had ~/.pycheckrc.

Why can't pep257 have a configuration file ?

@keleshev

This comment has been minimized.

Copy link
Contributor

commented Oct 7, 2013

Sure! Pull requests are welcome 😉

@kdeldycke

This comment has been minimized.

Copy link
Author

commented Oct 11, 2013

I'll wait for the merging of your rewrite branch.

In the mean time, do you have any preferences on the naming and default location ?

@keleshev

This comment has been minimized.

Copy link
Contributor

commented Oct 11, 2013

~/.config/pep257 should be best. Do you know if pep8/pylint/flake8/pychecker use any local (per-project) config files? That could be interesting.

Ini-style config is probably the best choice, since it's supported by standard library. Take a look at this config example. It allows for configs like:

[pep257]
--explain
--ignore=D101,D202
--match='(?!test_).*\.py'
@sigmavirus24

This comment has been minimized.

Copy link
Member

commented Oct 11, 2013

We honor setup.cfg if I remember correctly. Possibly also tox.ini but I think that was deprecated. I'm also not sure if we support ~/.config/flake8 any longer.

[#]: We == Flake8

@keleshev

This comment has been minimized.

Copy link
Contributor

commented Oct 11, 2013

What do you use if not ~/.config/flake8. setup.cfg and tox.ini are also good ideas.

@adiroiban

This comment has been minimized.

Copy link

commented Apr 12, 2014

Before having a configuration file, I prefer to have PEP257Checker(options). options can be a simple key/value dict of Bunch like object.

@adiroiban

This comment has been minimized.

Copy link

commented Apr 12, 2014

btw. I am not using (or plan to use) pep256 directly from the command line. Rather I load a file in memory once and then send the content to many linters and checkers.

@treyhunner

This comment has been minimized.

Copy link

commented Jul 21, 2014

I would like to see setup.cfg support. I have particular files I would like to omit from checking and I don't want to type them at the command line ever time.

@Nurdok

This comment has been minimized.

Copy link
Member

commented Jul 26, 2014

@kdeldycke are you working on this, or planning to?

@kdeldycke

This comment has been minimized.

Copy link
Author

commented Jul 26, 2014

@Nurdok not at all. Feel free to take over this issue ! :)

@oryband

This comment has been minimized.

Copy link

commented Dec 11, 2014

👍 any progress on this?

@Nurdok

This comment has been minimized.

Copy link
Member

commented Dec 12, 2014

Not yet, but I consider this the next big thing.

On Thu, 11 Dec 2014 12:50 pm Ory Band notifications@github.com wrote:

[image: 👍] any progress on this?


Reply to this email directly or view it on GitHub
#58 (comment).

@Nurdok Nurdok modified the milestone: 0.4.0 Release Dec 31, 2014

@Nurdok Nurdok closed this Jan 2, 2015

@oryband

This comment has been minimized.

Copy link

commented Jan 2, 2015

Great. Could youp lease add documentation for this please? Specifically to the front page of this repo (README.md)

@sigmavirus24

This comment has been minimized.

Copy link
Member

commented Jan 2, 2015

This is a better opportunity to start using readthedocs.org and have real documentation for this project.

@keleshev keleshev referenced this issue Jan 2, 2015

Closed

Real docs #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.