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 flake8 checks for license and copyright headers #4657

Merged
merged 7 commits into from
May 6, 2019

Commits on May 3, 2019

  1. Normalize license header in files

    Add the current license header to files that do not have the header. Fix the license header in files if the text does not match.
    m4dcoder committed May 3, 2019
    Configuration menu
    Copy the full SHA
    af4d2af View commit details
    Browse the repository at this point in the history
  2. Update the test_content_version submodule

    Update the test_content_version submodule to pull the latest commit with the Apache 2.0 license header added to files.
    m4dcoder committed May 3, 2019
    Configuration menu
    Copy the full SHA
    4535676 View commit details
    Browse the repository at this point in the history
  3. Fix Apache 2.0 license header in files

    Replace the custom Apache 2.0 license header to the standard Apache 2.0 license header in code files.
    m4dcoder committed May 3, 2019
    Configuration menu
    Copy the full SHA
    a215f77 View commit details
    Browse the repository at this point in the history
  4. Add hacking module to check standard Apache license header

    Add the hacking module to check code files for the standard Apache 2.0 license header. Update the flake8 config file and disable all other hacking checks.
    m4dcoder committed May 3, 2019
    Configuration menu
    Copy the full SHA
    fb9a6f0 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. Add copyright header

    Add copyright header above license header on all code files.
    m4dcoder committed May 5, 2019
    Configuration menu
    Copy the full SHA
    7bb6229 View commit details
    Browse the repository at this point in the history
  2. Add flake8 check for copyright header

    Add flake8-copyright to test requirements and configure the copyright check in the flake8 configuration file.
    m4dcoder committed May 5, 2019
    Configuration menu
    Copy the full SHA
    9b8d918 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. Pin version for flake8-copyright and hacking

    Pin version for flake8-copyright and hacking to avoid unexpected conflict due to version changes.
    m4dcoder committed May 6, 2019
    Configuration menu
    Copy the full SHA
    d000339 View commit details
    Browse the repository at this point in the history