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

Replace optparse with argparse in suite_report.py #34

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Aug 12, 2024

  1. Repalce optparse with argparse in suite_report.py

    Remove the deprecated optparse module and replace it with an similar
    implementation using argparse.
    t00sa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7b1ccde View commit details
    Browse the repository at this point in the history
  2. Fix linting problems in suite_report.py

    Find and fix various problems reported by pylint.
    t00sa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    2f676cb View commit details
    Browse the repository at this point in the history
  3. Make suite_report.py flake8 compliant

    Fixes everything but a single case where the options are either an
    E129 warning about having the same indentation as the next line or an
    E127 warning about over-indentation - and there doesn't seem to be a
    format that satisfies the checker!
    t00sa committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    a265ebd View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Add argument completion to suite_report.py

    Enable command line argument completion for the two directory options
    if/when argcomplete is available.
    t00sa committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    555237d View commit details
    Browse the repository at this point in the history
  2. Refactor with f-strings in place of formats

    To keep the linter happy, most of the format() calls with f-strings.
    This supposedly offers better performance and is more in keeping with
    python 3.
    t00sa committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8c468cf View commit details
    Browse the repository at this point in the history