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

[RFC] Ensuring code is formatted in accordance to pep8 #208

Open
lethalbit opened this issue Aug 4, 2022 · 2 comments
Open

[RFC] Ensuring code is formatted in accordance to pep8 #208

lethalbit opened this issue Aug 4, 2022 · 2 comments

Comments

@lethalbit
Copy link
Member

I suggest that we add as a development check to ensure the code is formatted in accordance with pep8 to ensure consistency.

I use flake8 for that personally, my normal .flake8 configuration is as follows:

[flake8]

exclude =
	.git,
	__pycache__,
	.eggs,

max-line-length = 135
indent-size = 1
statistics = True
ignore =
	E124,
	E126,
	E128,
	E131,
	E201,
	E202,
	E203,
	E221,
	E226,
	E241,
	E251,
	E261,
	E262,
	E272,
	E302,
	E303,
	E305,
	E401,
	E402,
	F403,
	F405,
	W191,
	W504

Thoughts?

@nakengelhardt
Copy link
Member

Related: #109

@lethalbit
Copy link
Member Author

Yeah I saw the PR but didn't notice an issue associated with it, forgot to link, it thanks.

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

2 participants