Skip to content

Commit

Permalink
Merge branch 'main' into add_motile_plots
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Jul 25, 2024
2 parents 904a75f + f3c353b commit 1143e2f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 28 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/black.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Python mypy

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
static-analysis:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@ name: Test

on:
push:
branches:
- main
pull_request:

jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: 'format --check'

test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
12 changes: 3 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ ci:
autofix_commit_msg: "style(pre-commit.ci): auto fixes [...]"
autoupdate_commit_msg: "ci(pre-commit.ci): autoupdate"

default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
Expand All @@ -14,16 +12,12 @@ repos:
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.2.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: ruff
args: [--fix]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ dependencies = [
dev = [
'pytest',
'pytest-cov',
'black',
'mypy',
'pdoc',
'pre-commit',
'types-tqdm',
'pytest-unordered',
'plotly',
'ruff',
]

[project.urls]
Expand Down

0 comments on commit 1143e2f

Please sign in to comment.