feat: Add version to User Agent string #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting (black and flake8) | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install pip package(s) | |
run: pip install hatch | |
- name: Run black formatter check | |
run: hatch run lint:black --check --verbose src tests | |
- name: Run flake8 linter | |
run: hatch run lint:flake8 | |
- name: Run unit and integrations tests | |
run: hatch run test:pytest --cov=maven_artifact --cov-report=xml --cov-report=html | |