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

Testing, Linting, Typing, CI/CD #1

Merged
merged 3 commits into from
Jun 19, 2022
Merged

Testing, Linting, Typing, CI/CD #1

merged 3 commits into from
Jun 19, 2022

Commits on May 16, 2022

  1. Add tests and code coverage

    - Add unit tests for api.py module
    - Add dev packages to pyproject.toml
    timeforplanb123 committed May 16, 2022
    Configuration menu
    Copy the full SHA
    b4ced09 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Add noxfile.py, dev-packages, configuration files

    - Add noxfile.py with lint, unit_tests, mypy sessions
    - Add dev-packages for linting, typing
    - Add .flake8, mypy.ini configurations files
    timeforplanb123 committed May 18, 2022
    Configuration menu
    Copy the full SHA
    9c48f95 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2022

  1. Add github pipelines, small configuration and stylistic changes

    - Add github commit.yml, coverage.yml pipelines with testing, linting and code coverage
    - Add unit tests/coverage reports to .gitignore
    - Add new code coverage badge to README.md, add PyPI badge logo
    - Add coverage nox session, add type annotations to noxfile.py
    - Add dev-dependencies to pyproject.toml:
      - codecov 2.1.12
    - Change single-sourcing package version (anac/core/__init__), using standard importlib.metadata library (it's possible from Python 3.8) instead of pkg_resources library
    - Change import statemenets (groups and order) with flake8-import-order plugin and import-order-style = google .flake8 option. Black reformatting with max-line-length = 88 option:
      - anac/__init__.py
      - anac/core/api.py
      - anac/core/endpoint.py
      - anac/core/exceptions.py
      - noxfile.py
      - tests/unit/test_api.py
    - Remove B9 .flake8 option (flake8-bugbear option)
    timeforplanb123 committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    ac13b61 View commit details
    Browse the repository at this point in the history