Skip to content

Commit

Permalink
Merge pull request #268 from tofu-rocketry/ci-tidy
Browse files Browse the repository at this point in the history
CI tidy
  • Loading branch information
tofu-rocketry authored Sep 26, 2023
2 parents 835ac6e + 1204fcc commit fea27d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['2.x', '3.x']
python-version: ['3.x']
name: Python ${{ matrix.python-version }} test
steps:
- uses: actions/checkout@v4
Expand Down
9 changes: 8 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,22 @@ repos:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
name: Force line endings to LF
args: ['--fix=lf']
- id: trailing-whitespace

- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
rev: v1.10.0
hooks:
- id: python-check-mock-methods
- id: python-no-eval
- id: python-no-log-warn
- id: python-use-type-annotations

# Pre-commit CI config, see https://pre-commit.ci/
ci:
autofix_prs: false
autoupdate_schedule: quarterly

0 comments on commit fea27d7

Please sign in to comment.