Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Aug 9, 2019

Blocked by #2104 (comment)

Description

(Description of what the PR does, such as fixes # {issue number})

How to test

(Description of how to validate or test this PR)

Contributor license agreement signed?

CLA [ ] (Whether you have signed a CLA - Contributor Licensing Agreement

@forslund
Copy link
Collaborator

Thanks, looks like a very useful tool. We have an optional pre-commit hook which is based on pycodestyle should this also be upgraded to use flake8 or should the pycodestyle module be kept side by side of flake8?

@cclauss
Copy link
Contributor Author

cclauss commented Aug 10, 2019

I usually run Python Software Foundation’s black in my precommit which effectively makes pycodestyle unnecessary.

Flake8 is a superset of pyflakes + pycodestyle + McCabe complexity analysis + it adds its own issue codes. Running flake8 unrestricted will execute all of the pycodestyle tests and will add many others besides. Here we have focused flake8 on a handful of errors codes that effect runtime safety or correctness.

@devs-mycroft devs-mycroft added the CLA: Needed Need signed CLA from https://mycroft.ai/cla label Aug 10, 2019
@devs-mycroft
Copy link
Collaborator

Hello, @cclauss, thank you for helping with the Mycroft project! We welcome everyone
into the community and greatly appreciate your help as we work to build an AI
for Everyone.

To protect yourself, the project, and users of Mycroft technologies we require
a Contributor Licensing Agreement (CLA) before accepting any code
contribution. This agreement makes it crystal clear that along with your
code you are offering a license to use it within the confines of this project.
You retain ownership of the code, this is just a license.

Please visit https://mycroft.ai/cla to initiate this one-time signing. Thank
you!

@cclauss
Copy link
Contributor Author

cclauss commented Aug 10, 2019

WTF w the CLA checker?

@forslund
Copy link
Collaborator

It's job was blocked and just ran now. You've not been added to the CLA list, I've sent an email to @krisgesling since he manually flipped you to "CLA: Yes" to check the status and why you weren't added.

@devs-mycroft devs-mycroft added CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) and removed CLA: Needed Need signed CLA from https://mycroft.ai/cla labels Aug 12, 2019
@cclauss
Copy link
Contributor Author

cclauss commented Nov 19, 2019

Bump on this one...

@forslund
Copy link
Collaborator

Thanks, can you look at the python 3.8 failure as well? (or maybe split that out into a separate PR if it's tricky)

We need to either restore pycodestyle to the test-requirements.txt or remove/update the precommit-hook util that's using it.

@cclauss
Copy link
Contributor Author

cclauss commented Nov 19, 2019

flake8 is a superset of pycodestyle so installing flake8 will also install pycodestyle.

@forslund
Copy link
Collaborator

Ok NOW I get it, sorry for being dense. This looks very nice. Merging

@forslund
Copy link
Collaborator

Thanks for this.

@forslund forslund merged commit c46528d into MycroftAI:dev Nov 19, 2019
@cclauss cclauss deleted the patch-1 branch November 19, 2019 23:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants