Skip to content

Conversation

@m4dcoder
Copy link
Contributor

Replace hacking module and use the custom flake8 plugin in the StackStorm/lint-configs repo to check the Apache 2.0 license header.

m4dcoder added 3 commits May 10, 2019 00:29
f0fd0b6 Merge pull request #2 from StackStorm/python-license-check
63e6d42 Add new .flake-proprietary config file which is to be used with proprietary repos.
67d2846 Update flake8 config to enable extensions
a164dc1 Add .gitignore to project
13e0509 Add flake8 plugin to check license header
302b88c Also ignore H210 errors.
ffbe682 Enable H checks to missing license errors are reported.
3be3554 Merge branch 'update_lint_configs'
9a5b6db Add a docstring.
73fe88f Fix merge conflict.
72d3b7c Merge pull request #1 from StackStorm/update_lint_configs
2709c47 Update lint config with changes from #4657.

git-subtree-dir: lint-configs
git-subtree-split: f0fd0b61e29a9623eeb87aaf82c3a98aab9271ff
Replace hacking module and use the custom flake8 plugin in the StackStorm/lint-configs repo to check the Apache 2.0 license header.
@m4dcoder m4dcoder requested a review from Kami May 10, 2019 00:32
@Kami Kami added this to the 3.0.1 milestone May 10, 2019
@echo
@echo "==================== flake ===================="
@echo
. $(VIRTUALENV_DIR)/bin/activate; cd ./lint-configs/python/flake8_plugins; python setup.py develop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works for now although this usually results in a lot of issues if package is updated or similar so if we will have issues with it, we should move it to a separate repo and install it from git using using pip.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kami Yeah, this is temporary until we setup the flake8 plugins repo and upload the package into pypi.

@Kami Kami merged commit 14b2e6f into master May 10, 2019
@Kami Kami deleted the fix-license-check branch May 10, 2019 07:28
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

Successfully merging this pull request may close these issues.

3 participants