Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Jan 24, 2024
1 parent 17c2dad commit 145d2f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: ${{ ! needs.check.outputs.branch-pr }}
uses: ./.github/workflows/_tox.yml
with:
tox: pre-commit,test
tox: pre-commit,pytest

docs:
needs: check
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
project = "python-copier-template"

# The full version, including alpha/beta/rc tags.
release = check_output(['git', 'describe', '--always', '--tags']).decode()
release = check_output(["git", "describe", "--always", "--tags"]).decode()

# The short X.Y version.
if "-" in release:
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ commands =
src = ["src", "tests"]
line-length = 88
select = [
"C4", # flake8-comprehensions - https://beta.ruff.rs/docs/rules/#flake8-comprehensions-c4
"E", # pycodestyle errors - https://beta.ruff.rs/docs/rules/#error-e
"F", # pyflakes rules - https://beta.ruff.rs/docs/rules/#pyflakes-f
"W", # pycodestyle warnings - https://beta.ruff.rs/docs/rules/#warning-w
"I", # isort - https://docs.astral.sh/ruff/rules/#isort-i
"E", # pycodestyle errors - https://beta.ruff.rs/docs/rules/#error-e
"F", # pyflakes rules - https://beta.ruff.rs/docs/rules/#pyflakes-f
"W", # pycodestyle warnings - https://beta.ruff.rs/docs/rules/#warning-w
"I", # isort - https://docs.astral.sh/ruff/rules/#isort-i
]

[tool.pip-tools]
Expand Down

0 comments on commit 145d2f2

Please sign in to comment.