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

Introduce flake8-pyi in pre-commit checks #1253

Merged
merged 13 commits into from
Nov 13, 2022

Commits on Nov 12, 2022

  1. only allow redirect_chain attribute in response when client sets the …

    …follow flag
    
    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    5d9fc3d View commit details
    Browse the repository at this point in the history
  2. compat for py3.7

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    bde7358 View commit details
    Browse the repository at this point in the history
  3. compat for py3.7, fixed

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    44b7999 View commit details
    Browse the repository at this point in the history
  4. address review comments, extract follow flag checks in a separate tes…

    …t case
    
    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    1efa5da View commit details
    Browse the repository at this point in the history
  5. configure flake8-pyi plugin in pre-commit

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    d5157ac View commit details
    Browse the repository at this point in the history
  6. use pep 604 union types where possible

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    cc78575 View commit details
    Browse the repository at this point in the history
  7. fix Y015

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    f06c8d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. use PEP 585 container types where possible, replace obsolete typing t…

    …ypes with collections.abc
    
    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    cf56059 View commit details
    Browse the repository at this point in the history
  2. allow isort to reorder non-top imports

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    add6b4c View commit details
    Browse the repository at this point in the history
  3. finish PEP 585 changes, use PEP 613 where possible

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    ba6c37d View commit details
    Browse the repository at this point in the history
  4. fix remaining flake8-pyi warnings, silence warnings in question

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    34bbd9d View commit details
    Browse the repository at this point in the history
  5. fix Y023

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    4ae7cf9 View commit details
    Browse the repository at this point in the history
  6. fix Y029

    Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
    hoefling committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    6483d4a View commit details
    Browse the repository at this point in the history