Skip to content

Adding custom User-Agent to client #320

Adding custom User-Agent to client

Adding custom User-Agent to client #320

Workflow file for this run

name: Lint code base
on:
pull_request:
branches:
- trunk
push:
branches:
- trunk
- release-*
tags:
- v*
jobs:
lint-pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
name: Lint with pylint ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install requirements
run: |
pip install ".[test]"
- name: Analysing with pylint
run: |
pylint spicepy tests
- name: Analysing with flake8
run: |
flake8 spicepy tests