Skip to content

Commit

Permalink
remove check step in favor of formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Nov 27, 2023
1 parent 25cd24d commit 74a3726
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@ on:
pull_request:

jobs:
check:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: check-style
- linux: build-dist
test:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
envs: |
- linux: py38-xdist
- linux: py39-xdist
- linux: py310-xdist
- linux: py311-xdist
Expand Down
14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4", "wheel"]
build-backend = "setuptools.build_meta"

[tool.ruff]
line-length = 127
select = [
# minimal set to match pre-ruff behavior
"E", # pycodestyle
"F", # pyflakes, autoflake
"I", # isort
"S", # bandit
"UP", # pyupgrade
"RUF", # ruff specific, includes yesqa
]
extend-ignore = [
"E501", # Line too long
]
"E501", # Line too long
]
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ skip_install = true
deps =
ruff
commands =
ruff . {posargs}
ruff check . {posargs}

[testenv]
description =
Expand Down

0 comments on commit 74a3726

Please sign in to comment.