From a212411c336ad0f1ab7719e568109aecf501fb3d Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Wed, 25 Sep 2024 17:03:52 +0200 Subject: [PATCH] gh-267: move verbose output flag for ruff and pytest to pyproject.toml --- .github/workflows/test.yml | 2 +- .pre-commit-config.yaml | 3 --- pyproject.toml | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b647f753..4d54a41e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c7b4b8c9..cc561022 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 8acc4db9..477ecfff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,6 +77,7 @@ addopts = [ "--strict-config", "--strict-markers", "-ra", + "-v", ] filterwarnings = [ "ignore::DeprecationWarning", @@ -91,6 +92,7 @@ xfail_strict = true [tool.ruff] fix = true force-exclude = true +show-fixes = true src = [ "glass", ]