From 5038fdcbb24783ca04bfafeaa965dc7411057c63 Mon Sep 17 00:00:00 2001 From: Evgeniy Krysanov Date: Sat, 23 Nov 2024 09:42:52 +0300 Subject: [PATCH] chore(linter): replace black with ruff --- .github/workflows/ci.yml | 8 +- .idea/watcherTasks.xml | 16 +- jira2markdown/markup/base.py | 2 +- jira2markdown/markup/tables.py | 9 +- poetry.lock | 347 +++-------------------------- pyproject.toml | 38 ++-- setup.cfg | 17 -- tests/markup/test_advanced.py | 16 +- tests/markup/test_lists.py | 35 +-- tests/markup/test_mixed_content.py | 33 +-- tests/markup/test_tables.py | 15 +- tests/markup/test_text_effects.py | 6 +- 12 files changed, 122 insertions(+), 420 deletions(-) delete mode 100644 setup.cfg diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4e81d6..b25af92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,8 +32,8 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: poetry install - - name: Run linter - run: poetry run flake8 + - run: poetry run ruff check - - name: Run tests - run: poetry run pytest + - run: poetry run ruff format --diff + + - run: poetry run pytest diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml index f222b25..1d4f1ff 100644 --- a/.idea/watcherTasks.xml +++ b/.idea/watcherTasks.xml @@ -2,19 +2,19 @@ - -