Skip to content

Commit

Permalink
Merge pull request #50 from isaacharrisholt/improve_tooling
Browse files Browse the repository at this point in the history
Tooling improvements
  • Loading branch information
isaacharrisholt authored Mar 4, 2023
2 parents bd15a6d + 5bf8146 commit 49c2b9a
Show file tree
Hide file tree
Showing 37 changed files with 2,936 additions and 3,143 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/python-package.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
- push
- pull_request

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions poetry
- name: Test with tox
run: tox
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.254
hooks:
- id: ruff
Loading

0 comments on commit 49c2b9a

Please sign in to comment.