Skip to content

Commit

Permalink
gh-267: move verbose output flag for ruff and pytest to pyproject.toml (
Browse files Browse the repository at this point in the history
#281)

Verbose output flags for both ruff and pytest are used frequently enough
to be added to pyproject.toml.

Refs: #267
  • Loading branch information
Saransh-cpp authored Sep 25, 2024
1 parent 2d6e21b commit f821e64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install -c .github/test-constraints.txt -e '.[test]'
- run: pytest --cov=glass --doctest-plus -v
- run: pytest --cov=glass --doctest-plus
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ repos:
rev: v0.6.7
hooks:
- id: ruff
args:
- --fix
- --show-fixes
- id: ruff-format
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.18.0
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ addopts = [
"--strict-config",
"--strict-markers",
"-ra",
"-v",
]
filterwarnings = [
"ignore::DeprecationWarning",
Expand All @@ -91,6 +92,7 @@ xfail_strict = true
[tool.ruff]
fix = true
force-exclude = true
show-fixes = true
src = [
"glass",
]
Expand Down

0 comments on commit f821e64

Please sign in to comment.