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

Conversation

timeforplanb123
Copy link
Owner

  • Add unit tests for:
    • api.py module
  • Add dev packages to pyproject.toml

- Add unit tests for api.py module
- Add dev packages to pyproject.toml
@timeforplanb123 timeforplanb123 changed the title Add tests Testing, Linting, Typing, CI/CD May 18, 2022
- Add noxfile.py with lint, unit_tests, mypy sessions
- Add dev-packages for linting, typing
- Add .flake8, mypy.ini configurations files
@timeforplanb123
Copy link
Owner Author

  • Add noxfile.py with lint, unit_tests, mypy sessions
  • Add linting, typing dev packages to pyproject.toml
  • Add .flake8, mypy.ini configuration files

@timeforplanb123
Copy link
Owner Author

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)

- 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)
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.

1 participant