From b6da66599fb534b30a66b3c1cd96082489b2494b Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:59:49 +0000 Subject: [PATCH 01/91] Mirror: 0.0.234 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 48f075b..66cfea8 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.233 +0.0.234 diff --git a/setup.py b/setup.py index a2509b4..8623229 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.233'], + install_requires=['ruff==0.0.234'], ) From 94dd638548169763ac3435fa372af60b0679c8fd Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:59:49 +0000 Subject: [PATCH 02/91] Mirror: 0.0.235 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 66cfea8..ebefa32 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.234 +0.0.235 diff --git a/setup.py b/setup.py index 8623229..2677e57 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.234'], + install_requires=['ruff==0.0.235'], ) From 0cf5de2c7c14bda6447cd04485046e9c9f91e577 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Jan 2023 00:17:56 +0000 Subject: [PATCH 03/91] Mirror: 0.0.236 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index ebefa32..eaf41a0 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.235 +0.0.236 diff --git a/setup.py b/setup.py index 2677e57..2230217 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.235'], + install_requires=['ruff==0.0.236'], ) From edb89ee9e1a629737c58cf6d11befe5ee92da47e Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 28 Jan 2023 20:06:02 +0000 Subject: [PATCH 04/91] Mirror: 0.0.237 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index eaf41a0..3c725e7 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.236 +0.0.237 diff --git a/setup.py b/setup.py index 2230217..4c31d97 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.236'], + install_requires=['ruff==0.0.237'], ) From 2cdb49b068242b7498ba869459b0aab7ea5b304e Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 00:20:58 +0000 Subject: [PATCH 05/91] Mirror: 0.0.238 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 3c725e7..8b0d5ec 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.237 +0.0.238 diff --git a/setup.py b/setup.py index 4c31d97..6ed1227 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.237'], + install_requires=['ruff==0.0.238'], ) From 0613495e887cdd278841367e9b4bdd0f314de5fe Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 1 Feb 2023 00:48:44 +0000 Subject: [PATCH 06/91] Mirror: 0.0.239 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 8b0d5ec..13b9bcf 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.238 +0.0.239 diff --git a/setup.py b/setup.py index 6ed1227..e0ca046 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.238'], + install_requires=['ruff==0.0.239'], ) From 6ba454799f284b13ccd53ca2adaf4848da6d3509 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 2 Feb 2023 18:11:56 +0000 Subject: [PATCH 07/91] Mirror: 0.0.240 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 13b9bcf..11be970 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.239 +0.0.240 diff --git a/setup.py b/setup.py index e0ca046..3d5f720 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.239'], + install_requires=['ruff==0.0.240'], ) From a82915bc2d8d41e62749d664a25157550428e699 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Feb 2023 02:43:08 +0000 Subject: [PATCH 08/91] Mirror: 0.0.241 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 11be970..f11743e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.240 +0.0.241 diff --git a/setup.py b/setup.py index 3d5f720..41a6543 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.240'], + install_requires=['ruff==0.0.241'], ) From 90c3bb65f469d56a112d66b2764b40f5ddf7b578 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 3 Feb 2023 21:43:17 -0500 Subject: [PATCH 09/91] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6bd6c00..1da78af 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.191' + rev: 'v0.0.241' hooks: - id: ruff ``` From 9560a1972e8e085d3fbb30587214de01b48b848f Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 22:11:38 +0000 Subject: [PATCH 10/91] Mirror: 0.0.242 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index f11743e..ca22300 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.241 +0.0.242 diff --git a/setup.py b/setup.py index 41a6543..7029799 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.241'], + install_requires=['ruff==0.0.242'], ) From 657c9074f15a35afec3e945dbe126d435db994b9 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Feb 2023 03:01:44 +0000 Subject: [PATCH 11/91] Mirror: 0.0.243 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index ca22300..570c606 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.242 +0.0.243 diff --git a/setup.py b/setup.py index 7029799..74a313b 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.242'], + install_requires=['ruff==0.0.243'], ) From 0a169f3ce781b51ed85a2026d14b5972a447ac6b Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 8 Feb 2023 23:20:26 +0000 Subject: [PATCH 12/91] Mirror: 0.0.244 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 570c606..5d07dab 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.243 +0.0.244 diff --git a/setup.py b/setup.py index 74a313b..11a5185 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.243'], + install_requires=['ruff==0.0.244'], ) From 1591f358dcd88e69120d35987d905c22b418207d Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Feb 2023 04:31:10 +0000 Subject: [PATCH 13/91] Mirror: 0.0.245 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 5d07dab..0eb44b3 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.244 +0.0.245 diff --git a/setup.py b/setup.py index 11a5185..802ed56 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.244'], + install_requires=['ruff==0.0.245'], ) From 9f84243c82261f7141f8ab4f8da53a4f01d6561b Mon Sep 17 00:00:00 2001 From: Hugo Date: Mon, 13 Feb 2023 01:01:57 +0100 Subject: [PATCH 14/91] readme: indicate how enable/disable auto-fix (#26) --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1da78af..249fb00 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,22 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.241' + rev: 'v0.0.245' hooks: - id: ruff ``` +Or, to enable autofix: + +```yaml +- repo: https://github.com/charliermarsh/ruff-pre-commit + # Ruff version. + rev: 'v0.0.245' + hooks: + - id: ruff + args: [--fix, --exit-non-zero-on-fix] +``` + ## License MIT From 2d99f9295f9b17585683c1a01de3966f710de6bd Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 12 Feb 2023 19:02:50 -0500 Subject: [PATCH 15/91] Capitalize Ruff --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 249fb00..59a12dd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ For pre-commit: see https://github.com/pre-commit/pre-commit For Ruff: see https://github.com/charliermarsh/ruff -### Using ruff with pre-commit +### Using Ruff with pre-commit Add this to your `.pre-commit-config.yaml`: From 8a02e520ef0f52879a1d03ceac1a3aada7e3bd05 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Feb 2023 04:06:14 +0000 Subject: [PATCH 16/91] Mirror: 0.0.246 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 0eb44b3..dc1f759 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.245 +0.0.246 diff --git a/setup.py b/setup.py index 802ed56..315515c 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.245'], + install_requires=['ruff==0.0.246'], ) From 8c0354fe907e26a7358c64555d01a7f6e90356ba Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Feb 2023 21:05:10 +0000 Subject: [PATCH 17/91] Mirror: 0.0.247 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index dc1f759..6aa687e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.246 +0.0.247 diff --git a/setup.py b/setup.py index 315515c..375a65b 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.246'], + install_requires=['ruff==0.0.247'], ) From a794b11a962f22e77e48eba5c50d505b7cd7e0b1 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 19 Feb 2023 20:05:58 +0000 Subject: [PATCH 18/91] Mirror: 0.0.248 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 6aa687e..764cb07 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.247 +0.0.248 diff --git a/setup.py b/setup.py index 375a65b..b220a18 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.247'], + install_requires=['ruff==0.0.248'], ) From c59ff2e43b66879c4641f5bb9874107f09a3e2dc Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:08:05 +0000 Subject: [PATCH 19/91] Mirror: 0.0.249 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 764cb07..0b1a4b0 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.248 +0.0.249 diff --git a/setup.py b/setup.py index b220a18..ab3946c 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.248'], + install_requires=['ruff==0.0.249'], ) From 81c9dd53848bca703ee2aa7690af5415fa98fcb4 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 21:09:21 +0000 Subject: [PATCH 20/91] Mirror: 0.0.250 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 0b1a4b0..2dd383a 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.249 +0.0.250 diff --git a/setup.py b/setup.py index ab3946c..6270cf4 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.249'], + install_requires=['ruff==0.0.250'], ) From 52dd739afa4faed53edb357d90499e405ac3c60e Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 23:40:32 +0000 Subject: [PATCH 21/91] Mirror: 0.0.251 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 2dd383a..9d5c6cf 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.250 +0.0.251 diff --git a/setup.py b/setup.py index 6270cf4..75ddee5 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.250'], + install_requires=['ruff==0.0.251'], ) From c9e6ab0c7a6196dabae8893ba4c454ce4f3da660 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Feb 2023 20:21:37 +0000 Subject: [PATCH 22/91] Mirror: 0.0.252 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 9d5c6cf..b1b98cf 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.251 +0.0.252 diff --git a/setup.py b/setup.py index 75ddee5..82735cd 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.251'], + install_requires=['ruff==0.0.252'], ) From 8cddec33c0698a68b19f895ba7e37582d2e0104c Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 17:57:11 +0000 Subject: [PATCH 23/91] Mirror: 0.0.253 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index b1b98cf..2a71e99 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.252 +0.0.253 diff --git a/setup.py b/setup.py index 82735cd..9e6bc8d 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.252'], + install_requires=['ruff==0.0.253'], ) From c8ba6a0b13ab49019912703dda693c7f56c5bfef Mon Sep 17 00:00:00 2001 From: Eero Vaher Date: Wed, 1 Mar 2023 20:37:50 +0100 Subject: [PATCH 24/91] Add a note about recommended hook ordering (#31) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 59a12dd..0fcd3ce 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ Or, to enable autofix: args: [--fix, --exit-non-zero-on-fix] ``` +Note that Ruff's pre-commit hook should run before Black, isort, and other +formatting tools. + ## License MIT From 6a0ba1854991b693612486cc84a2254de82d071d Mon Sep 17 00:00:00 2001 From: Jonathan Plasse <13716151+JonathanPlasse@users.noreply.github.com> Date: Thu, 2 Mar 2023 16:24:35 +0100 Subject: [PATCH 25/91] Add check to entry (#32) --- .github/workflows/main.yml | 2 +- .pre-commit-hooks.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 861e15e..3b2804f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,6 @@ jobs: git config user.name 'Github Actions' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' - - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" . + - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" . - run: git push origin HEAD:refs/heads/main --tags diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 9ce6d2a..8e18d85 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ - id: ruff name: ruff description: "Run 'ruff' for extremely fast Python linting" - entry: ruff --force-exclude + entry: ruff check --force-exclude language: python 'types_or': [python, pyi] args: [] From 9db230353b823e61e76b88bf2272329e3ad32c3a Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Mar 2023 05:18:22 +0000 Subject: [PATCH 26/91] Mirror: 0.0.254 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 2a71e99..d420563 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.253 +0.0.254 diff --git a/setup.py b/setup.py index 9e6bc8d..01de054 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.253'], + install_requires=['ruff==0.0.254'], ) From 8dc355dcbe230c1539133804f42d09e9e75ce087 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Mar 2023 19:12:05 +0000 Subject: [PATCH 27/91] Mirror: 0.0.255 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index d420563..088d2b3 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.254 +0.0.255 diff --git a/setup.py b/setup.py index 01de054..cb54104 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.254'], + install_requires=['ruff==0.0.255'], ) From 69d01574ee087d31d1ca0025c4b899636cf187a5 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Mar 2023 03:57:02 +0000 Subject: [PATCH 28/91] Mirror: 0.0.256 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 088d2b3..2479b85 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.255 +0.0.256 diff --git a/setup.py b/setup.py index cb54104..fa5660e 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.255'], + install_requires=['ruff==0.0.256'], ) From e812d61e6e9d269f44ecda63904ed670a1948fe8 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 18 Mar 2023 02:57:12 +0000 Subject: [PATCH 29/91] Mirror: 0.0.257 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 2479b85..f2c0f7c 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.256 +0.0.257 diff --git a/setup.py b/setup.py index fa5660e..0af4908 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.256'], + install_requires=['ruff==0.0.257'], ) From 0f888cd9d44b30a61c3140b8abfa330d959042af Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 17 Mar 2023 23:01:45 -0400 Subject: [PATCH 30/91] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0fcd3ce..2a82c7f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.245' + rev: 'v0.0.257' hooks: - id: ruff ``` @@ -26,7 +26,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.245' + rev: 'v0.0.257' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 05e717e4f6f9dd0de0b202beeba32330da4a4eba Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Mar 2023 21:51:34 +0000 Subject: [PATCH 31/91] Mirror: 0.0.258 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index f2c0f7c..367491f 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.257 +0.0.258 diff --git a/setup.py b/setup.py index 0af4908..bc55c1e 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.257'], + install_requires=['ruff==0.0.258'], ) From 13eadaf3e8d5714c3cdd0b38c907107a641c635d Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:06:14 +0000 Subject: [PATCH 32/91] Mirror: 0.0.259 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 367491f..55ac891 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.258 +0.0.259 diff --git a/setup.py b/setup.py index bc55c1e..c0bad11 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.258'], + install_requires=['ruff==0.0.259'], ) From 3c6d40da8d90069e86c0ba3942239d773aadad1a Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Mar 2023 21:20:05 +0000 Subject: [PATCH 33/91] Mirror: 0.0.260 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 55ac891..73b579c 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.259 +0.0.260 diff --git a/setup.py b/setup.py index c0bad11..4a0477e 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.259'], + install_requires=['ruff==0.0.260'], ) From 6a0efc1edf44dd5707889a0aff25d618cd67cb46 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 3 Apr 2023 19:20:44 -0400 Subject: [PATCH 34/91] Touch up README --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2a82c7f..8d11e66 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,6 @@ A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charl Distributed as a standalone repository to enable installing Ruff via prebuilt wheels from [PyPI](https://pypi.org/project/ruff/). -For pre-commit: see https://github.com/pre-commit/pre-commit - -For Ruff: see https://github.com/charliermarsh/ruff - ### Using Ruff with pre-commit Add this to your `.pre-commit-config.yaml`: @@ -16,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.257' + rev: 'v0.0.260' hooks: - id: ruff ``` @@ -26,14 +22,16 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.257' + rev: 'v0.0.260' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] ``` -Note that Ruff's pre-commit hook should run before Black, isort, and other -formatting tools. +Ruff's pre-commit hook should be placed after other formatting tools, such as Black and isort, +_unless_ you enable autofix, in which case, Ruff's pre-commit hook should run _before_ Black, isort, +and other formatting tools, as Ruff's autofix behavior can output code changes that require +reformatting. ## License From f6346ef27faac608d493bf3926528b308d175d9e Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 5 Apr 2023 03:18:05 +0000 Subject: [PATCH 35/91] Mirror: 0.0.261 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 73b579c..e7b2391 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.260 +0.0.261 diff --git a/setup.py b/setup.py index 4a0477e..52a6d10 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.260'], + install_requires=['ruff==0.0.261'], ) From fb3d722e815020a3cddf951a255ffd890daf523f Mon Sep 17 00:00:00 2001 From: Alberto Cerrone <72306953+albertocerrone@users.noreply.github.com> Date: Fri, 14 Apr 2023 13:46:04 +0100 Subject: [PATCH 36/91] docs: Update to latest mirror version (#34) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d11e66..3266d84 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.260' + rev: 'v0.0.261' hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.260' + rev: 'v0.0.261' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From bae101822ddb31cf12400ec363897378f466d0a3 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 19 Apr 2023 14:02:00 -0700 Subject: [PATCH 37/91] chore: bump to Ruff 0.0.262 (#35) --- .version | 2 +- README.md | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.version b/.version index e7b2391..1e62999 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.261 +0.0.262 diff --git a/README.md b/README.md index 3266d84..11594bb 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.261' + rev: 'v0.0.262' hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.261' + rev: 'v0.0.262' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/setup.py b/setup.py index 52a6d10..12864ad 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.261'], + install_requires=['ruff==0.0.262'], ) From b04e21cf619a3dc6772f65824287cb924cac761e Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 19 Apr 2023 17:03:22 -0400 Subject: [PATCH 38/91] Revert update to .version --- .version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version b/.version index 1e62999..e7b2391 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.262 +0.0.261 From 343c49ab887fa4e5724ceb86c9c3678e647c94c2 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Apr 2023 21:03:44 +0000 Subject: [PATCH 39/91] Mirror: 0.0.262 --- .version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version b/.version index e7b2391..1e62999 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.261 +0.0.262 From 2c3a89a6fd956d81c4ad9925af758b451ef2227f Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 25 Apr 2023 06:13:58 +0000 Subject: [PATCH 40/91] Mirror: 0.0.263 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 1e62999..d6d1126 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.262 +0.0.263 diff --git a/setup.py b/setup.py index 12864ad..85fe94b 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.262'], + install_requires=['ruff==0.0.263'], ) From a87a77eb947b63f39781b5b79d866247ca7aaf93 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 25 Apr 2023 00:14:14 -0600 Subject: [PATCH 41/91] Bump version to 0.0.263 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 11594bb..1985bb5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.262' + rev: "v0.0.263" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.262' + rev: "v0.0.263" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From aad2f97dee13b682f514df846844b374cdd06e7c Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 May 2023 07:50:34 +0000 Subject: [PATCH 42/91] Mirror: 0.0.264 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index d6d1126..b7b27a0 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.263 +0.0.264 diff --git a/setup.py b/setup.py index 85fe94b..bda9183 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.263'], + install_requires=['ruff==0.0.264'], ) From 9e466ccca34e1b6b1e3a160152db786b8bc4c788 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 2 May 2023 00:51:30 -0700 Subject: [PATCH 43/91] Bump version to 0.0.264 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1985bb5..bf70d6e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.263" + rev: "v0.0.264" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.263" + rev: "v0.0.264" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 26ceedc01e6dc4eacacf7f8444ab4ef3a661e066 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 5 May 2023 18:13:33 +0000 Subject: [PATCH 44/91] Mirror: 0.0.265 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index b7b27a0..65088cd 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.264 +0.0.265 diff --git a/setup.py b/setup.py index bda9183..1ed4ed0 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.264'], + install_requires=['ruff==0.0.265'], ) From d121fa58991c5e4cedf7386697cb4290fc64edaf Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 5 May 2023 14:14:06 -0400 Subject: [PATCH 45/91] Bump version to 0.0.265 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bf70d6e..d005e01 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.264" + rev: "v0.0.265" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.264" + rev: "v0.0.265" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 7cdf33948215ab259c21a1d9378c3380b93a811b Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 18:19:27 +0000 Subject: [PATCH 46/91] Mirror: 0.0.266 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 65088cd..35c28b1 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.265 +0.0.266 diff --git a/setup.py b/setup.py index 1ed4ed0..d5f2686 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.265'], + install_requires=['ruff==0.0.266'], ) From 8f86941f1efc03abfaf26d790c9daf909449fd90 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 12 May 2023 14:20:08 -0400 Subject: [PATCH 47/91] Bump version to 0.0.266 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d005e01..52da06f 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.265" + rev: "v0.0.266" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.265" + rev: "v0.0.266" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 11c1d1d46cde6812135d98d4ae0d2311de64a8dd Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 20:16:34 +0000 Subject: [PATCH 48/91] Mirror: 0.0.267 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 35c28b1..8a14e28 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.266 +0.0.267 diff --git a/setup.py b/setup.py index d5f2686..887de66 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.266'], + install_requires=['ruff==0.0.267'], ) From a486fba16bbc89f6ea323d9f9327f63109eee7a3 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 12 May 2023 16:18:11 -0400 Subject: [PATCH 49/91] Bump version to 0.0.267 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52da06f..b49624d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.266" + rev: "v0.0.267" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.266" + rev: "v0.0.267" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From fbc96a6c25c4a03a3ab7cb6408b5852e739101b3 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 May 2023 21:49:26 +0000 Subject: [PATCH 50/91] Mirror: 0.0.269 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 8a14e28..bd3664b 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.267 +0.0.269 diff --git a/setup.py b/setup.py index 887de66..cd639ca 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.267'], + install_requires=['ruff==0.0.269'], ) From 7c149cf0b9d2c4f7558de1ea5d2c137ca074d9d0 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 18 May 2023 17:50:10 -0400 Subject: [PATCH 51/91] Bump version to 0.0.269 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b49624d..570e96a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.267" + rev: "v0.0.269" hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.267" + rev: "v0.0.269" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 4520e4045ee3ab9989684e70a76e48264b0d9e93 Mon Sep 17 00:00:00 2001 From: Felipe Moreno Date: Sat, 20 May 2023 11:07:05 -0400 Subject: [PATCH 52/91] Quotes around version in README yaml code block are not necessary (#38) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 570e96a..d9cd170 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.269" + rev: v0.0.269 hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.269" + rev: v0.0.269 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b05164188ed4897728a0f685c53ac1e7a2419285 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 21 May 2023 14:10:47 -0400 Subject: [PATCH 53/91] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9cd170..07fc8a0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Distributed as a standalone repository to enable installing Ruff via prebuilt wh Add this to your `.pre-commit-config.yaml`: ```yaml -- repo: https://github.com/charliermarsh/ruff-pre-commit +- repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.269 hooks: @@ -20,7 +20,7 @@ Add this to your `.pre-commit-config.yaml`: Or, to enable autofix: ```yaml -- repo: https://github.com/charliermarsh/ruff-pre-commit +- repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.0.269 hooks: From 14b59ee3b18bd49d0816d1f36820c97110e780cc Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 24 May 2023 20:05:59 +0000 Subject: [PATCH 54/91] Mirror: 0.0.270 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index bd3664b..87df073 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.269 +0.0.270 diff --git a/setup.py b/setup.py index cd639ca..4714b60 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.269'], + install_requires=['ruff==0.0.270'], ) From 56d5440fd23fdd08c824a270e801dcbee5cccfaf Mon Sep 17 00:00:00 2001 From: konstin Date: Wed, 24 May 2023 22:06:23 +0200 Subject: [PATCH 55/91] Add script that updates the version in the README (#39) --- .github/workflows/main.yml | 7 ++++++- update_version.py | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 update_version.py diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b2804f..5b44ede 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: - cron: "0 */4 * * *" workflow_dispatch: repository_dispatch: - types: [pypi_release] + types: [ pypi_release ] jobs: build: @@ -30,3 +30,8 @@ jobs: - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" . - run: git push origin HEAD:refs/heads/main --tags + + - name: "Update version in README.md" + run: python update_version.py + + - run: git push origin HEAD:refs/heads/main diff --git a/update_version.py b/update_version.py new file mode 100644 index 0000000..2c83647 --- /dev/null +++ b/update_version.py @@ -0,0 +1,24 @@ +"""Updates the version in the readme and git commit.""" + +import re +from pathlib import Path +from subprocess import check_call, check_output + + +def main(): + readme_md = Path("README.md") + readme = readme_md.read_text() + rev = Path(".version").read_text().strip() + readme = re.sub("rev: .*", f"rev: v{rev}", readme) + readme_md.write_text(readme) + # Only commit on change + # https://stackoverflow.com/a/9393642/3549270 + if check_output(["git", "status", "-s"]).strip(): + check_call(["git", "add", readme_md]) + check_call(["git", "commit", "-m", f"Bump README.md version to {rev}"]) + else: + print("No change") + + +if __name__ == "__main__": + main() From 3da5cf99ae6b0246958285464b7e4de36429fc60 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 24 May 2023 20:18:18 +0000 Subject: [PATCH 56/91] Bump README.md version to 0.0.270 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 07fc8a0..33bd8b2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.269 + rev: v0.0.270 hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.269 + rev: v0.0.270 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From fdea37e497cb28d3b745dc9d07d64ae69d66fbd1 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:53:45 +0000 Subject: [PATCH 57/91] Mirror: 0.0.271 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 87df073..55efd5a 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.270 +0.0.271 diff --git a/setup.py b/setup.py index 4714b60..6f99e77 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.270'], + install_requires=['ruff==0.0.271'], ) From d2acb90115818a0165c5fb45cddd42d6d276e2e0 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 00:53:45 +0000 Subject: [PATCH 58/91] Bump README.md version to 0.0.271 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 33bd8b2..1fa61f9 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.270 + rev: v0.0.271 hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.270 + rev: v0.0.271 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 5bd2636577fce68326b4fa0bea1769f02d7025bf Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Jun 2023 03:22:36 +0000 Subject: [PATCH 59/91] Mirror: 0.0.272 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 55efd5a..66c3757 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.271 +0.0.272 diff --git a/setup.py b/setup.py index 6f99e77..9571ded 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.271'], + install_requires=['ruff==0.0.272'], ) From ec8193bd5859db2ddb0fb0b16c90143cd763a5b5 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Jun 2023 03:22:37 +0000 Subject: [PATCH 60/91] Bump README.md version to 0.0.272 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1fa61f9..b6abf5b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.271 + rev: v0.0.272 hooks: - id: ruff ``` @@ -22,7 +22,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.271 + rev: v0.0.272 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 8698dbc7cde36009ea21f55ea0db18a8f6d50822 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 16 Jun 2023 15:01:33 -0400 Subject: [PATCH 61/91] Add badges to README (#40) --- README.md | 12 ++++++++++++ update_version.py | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b6abf5b..ed54090 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # ruff-pre-commit +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +[![image](https://img.shields.io/pypi/v/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/CI/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) + A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). Distributed as a standalone repository to enable installing Ruff via prebuilt wheels from @@ -36,3 +42,9 @@ reformatting. ## License MIT + + diff --git a/update_version.py b/update_version.py index 2c83647..9a78dde 100644 --- a/update_version.py +++ b/update_version.py @@ -9,9 +9,11 @@ def main(): readme_md = Path("README.md") readme = readme_md.read_text() rev = Path(".version").read_text().strip() - readme = re.sub("rev: .*", f"rev: v{rev}", readme) + readme = re.sub(r"rev: v\d+\.\d+\.\d+", f"rev: v{rev}", readme) + readme = re.sub(r"/\d+\.\d+\.\d+/ruff\.svg", f"/{rev}/ruff.svg", readme) readme_md.write_text(readme) - # Only commit on change + + # Only commit on change. # https://stackoverflow.com/a/9393642/3549270 if check_output(["git", "status", "-s"]).strip(): check_call(["git", "add", readme_md]) From 0afdbd1c797e167f0994e69a58b964e984d93aee Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 16 Jun 2023 22:17:26 -0400 Subject: [PATCH 62/91] Add issue and PR templates (#41) --- .github/ISSUE_TEMPLATE.md | 10 ++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..3452165 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,10 @@ + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..5b64555 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,15 @@ + + +## Summary + + + +## Test Plan + + From ec6bc276b88a82586c0fa7eb51f55b6c1380a5af Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 20:34:00 +0000 Subject: [PATCH 63/91] Mirror: 0.0.273 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 66c3757..227a930 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.272 +0.0.273 diff --git a/setup.py b/setup.py index 9571ded..29113e0 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.272'], + install_requires=['ruff==0.0.273'], ) From 42ad6adf01c53a0c03303359e9ecf6aeb056b41d Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 20:34:01 +0000 Subject: [PATCH 64/91] Bump README.md version to 0.0.273 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ed54090..3a5e4ad 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/0.0.272/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/CI/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.272 + rev: v0.0.273 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.272 + rev: v0.0.273 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From ba0094c234f1bbb097ec9e50d07c5997c26ddfe1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 20 Jun 2023 16:38:36 -0400 Subject: [PATCH 65/91] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a5e4ad..cd2e28a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![image](https://img.shields.io/pypi/v/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/l/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/pyversions/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) -[![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/CI/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) +[![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). From 026315ed3dc2bfb60d8964ee3f727ac2a32ff5f1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 20 Jun 2023 16:39:19 -0400 Subject: [PATCH 66/91] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd2e28a..6e44a8c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/0.0.273/ruff.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). From 17c401c7cc6cc682594e58e0185880f608a6466a Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 20 Jun 2023 16:40:23 -0400 Subject: [PATCH 67/91] Update update_version.py --- update_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_version.py b/update_version.py index 9a78dde..b98868f 100644 --- a/update_version.py +++ b/update_version.py @@ -10,7 +10,7 @@ def main(): readme = readme_md.read_text() rev = Path(".version").read_text().strip() readme = re.sub(r"rev: v\d+\.\d+\.\d+", f"rev: v{rev}", readme) - readme = re.sub(r"/\d+\.\d+\.\d+/ruff\.svg", f"/{rev}/ruff.svg", readme) + readme = re.sub(r"/ruff/\d+\.\d+\.\d+\.svg", f"/ruff/{rev}.svg", readme) readme_md.write_text(readme) # Only commit on change. From bfba38bcf2abb1014f2e19c12bb4f584204bb3c4 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Jun 2023 04:01:44 +0000 Subject: [PATCH 68/91] Mirror: 0.0.274 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 227a930..b8dd2cf 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.273 +0.0.274 diff --git a/setup.py b/setup.py index 29113e0..9d553d7 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.273'], + install_requires=['ruff==0.0.274'], ) From 770e3ceae230e989c8337eb434b7707d5f796e3d Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Jun 2023 04:01:45 +0000 Subject: [PATCH 69/91] Bump README.md version to 0.0.274 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6e44a8c..a20ad8d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.273.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.273 + rev: v0.0.274 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.273 + rev: v0.0.274 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 1ac904bbe451ef0b5a437d1d3b331a244c1f272c Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 20:21:38 +0000 Subject: [PATCH 70/91] Mirror: 0.0.275 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index b8dd2cf..1887e7e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.274 +0.0.275 diff --git a/setup.py b/setup.py index 9d553d7..2d5710f 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.274'], + install_requires=['ruff==0.0.275'], ) From bd40d9bdd167b9cecb617b43f4e19cce45cfc093 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 20:21:38 +0000 Subject: [PATCH 71/91] Bump README.md version to 0.0.275 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a20ad8d..0af6b22 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.274.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.274 + rev: v0.0.275 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.274 + rev: v0.0.275 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 9f69b173ce0f0aee69b40a82938f8385e39a1b26 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 18:34:49 +0000 Subject: [PATCH 72/91] Mirror: 0.0.276 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 1887e7e..5038e3d 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.275 +0.0.276 diff --git a/setup.py b/setup.py index 2d5710f..0cbdec8 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.275'], + install_requires=['ruff==0.0.276'], ) From b0e3596b76e0614048b694fd8b16b9ec916d0fba Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 18:34:50 +0000 Subject: [PATCH 73/91] Bump README.md version to 0.0.276 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0af6b22..7306703 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.275.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.275 + rev: v0.0.276 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.275 + rev: v0.0.276 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 95f113d6340ab4348ecc5d912cf6e6b3465bfb86 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 21:55:36 +0000 Subject: [PATCH 74/91] Mirror: 0.0.277 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 5038e3d..0d3cc30 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.276 +0.0.277 diff --git a/setup.py b/setup.py index 0cbdec8..8726c02 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.276'], + install_requires=['ruff==0.0.277'], ) From a140cebced144267061c4c325743934e7970e2cd Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 21:55:37 +0000 Subject: [PATCH 75/91] Bump README.md version to 0.0.277 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7306703..18ccd5a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.276.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.276 + rev: v0.0.277 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.276 + rev: v0.0.277 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 89791c7aee767f647d3b64bd71f2ace752107b84 Mon Sep 17 00:00:00 2001 From: Ali Hamdan Date: Sun, 9 Jul 2023 21:37:19 +0200 Subject: [PATCH 76/91] Add `jupyter` and `toml` file types (#44) ## Summary Add `jupyter` to the file types that ruff pre-commit hook runs on ## Test Plan This is what pre-commit uses to identify ".ipynb" files. See https://github.com/pre-commit/identify/blob/dc75a76b7fd7093a7a1d4159d6741884343af694/identify/extensions.py#L100 Also black does this https://github.com/psf/black/blob/main/.pre-commit-hooks.yaml Fixes #43 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b44ede..ea64ea2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: git config user.name 'Github Actions' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' - - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" . + - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --types-or jupyter --types-or toml --require-serial --description "Run 'ruff' for extremely fast Python linting" . - run: git push origin HEAD:refs/heads/main --tags From d87e2b0f73c652a038d10877ab24fdedb470e463 Mon Sep 17 00:00:00 2001 From: Ali Hamdan Date: Mon, 10 Jul 2023 21:03:43 +0200 Subject: [PATCH 77/91] Revert adding toml and jupyter (#45) See https://github.com/astral-sh/ruff-pre-commit/issues/44#issuecomment-1629510474 --- .github/workflows/main.yml | 2 +- README.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea64ea2..5b44ede 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: git config user.name 'Github Actions' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' - - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --types-or jupyter --types-or toml --require-serial --description "Run 'ruff' for extremely fast Python linting" . + - run: pre-commit-mirror --language python --package-name ruff --entry 'ruff check --force-exclude' --id ruff --types-or python --types-or pyi --require-serial --description "Run 'ruff' for extremely fast Python linting" . - run: git push origin HEAD:refs/heads/main --tags diff --git a/README.md b/README.md index 18ccd5a..5979d98 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,17 @@ Or, to enable autofix: args: [--fix, --exit-non-zero-on-fix] ``` +To run the hook on Jupyter Notebooks too: + +```yaml +- repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.0.277 + hooks: + - id: ruff + types_or: [python, pyi, jupyter] +``` + Ruff's pre-commit hook should be placed after other formatting tools, such as Black and isort, _unless_ you enable autofix, in which case, Ruff's pre-commit hook should run _before_ Black, isort, and other formatting tools, as Ruff's autofix behavior can output code changes that require From bbb75905dc5f1da001df7d6f4985159d1cb53ad9 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:41:20 +0000 Subject: [PATCH 78/91] Mirror: 0.0.278 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 0d3cc30..5447725 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.277 +0.0.278 diff --git a/setup.py b/setup.py index 8726c02..aedcfaf 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.277'], + install_requires=['ruff==0.0.278'], ) From e2a2094fd1ae3a4fedb7315c5379641ecf13a7fa Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:41:21 +0000 Subject: [PATCH 79/91] Bump README.md version to 0.0.278 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5979d98..b486750 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.277.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.277 + rev: v0.0.278 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.277 + rev: v0.0.278 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.277 + rev: v0.0.278 hooks: - id: ruff types_or: [python, pyi, jupyter] From da18a96f5b4ecf263a4556896723d6cdeb2024d3 Mon Sep 17 00:00:00 2001 From: eggplants Date: Thu, 13 Jul 2023 23:59:29 +0900 Subject: [PATCH 80/91] Fix repo links (#46) ## Summary I replaced `charliermarsh/ruff` with `astral-sh/ruff`. ## Test Plan Check if the changed links are worked. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b486750..b79870f 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # ruff-pre-commit -[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![image](https://img.shields.io/pypi/v/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/l/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) [![image](https://img.shields.io/pypi/pyversions/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) -A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/charliermarsh/ruff). +A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). Distributed as a standalone repository to enable installing Ruff via prebuilt wheels from [PyPI](https://pypi.org/project/ruff/). @@ -56,6 +56,6 @@ MIT From b09212dc3673fc734c7279728683e89002d4a2b4 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 21 Jul 2023 20:46:16 +0000 Subject: [PATCH 81/91] Mirror: 0.0.279 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 5447725..3a42c22 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.278 +0.0.279 diff --git a/setup.py b/setup.py index aedcfaf..549234f 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.278'], + install_requires=['ruff==0.0.279'], ) From c16fde55ad87bc486b591d35ee28870a478133c8 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 21 Jul 2023 20:46:17 +0000 Subject: [PATCH 82/91] Bump README.md version to 0.0.279 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b79870f..0253a4d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.278.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.278 + rev: v0.0.279 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.278 + rev: v0.0.279 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.278 + rev: v0.0.279 hooks: - id: ruff types_or: [python, pyi, jupyter] From 1c8d30bd0337717ec98f508ff8fcd12de81d3586 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jul 2023 03:51:24 +0000 Subject: [PATCH 83/91] Mirror: 0.0.280 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 3a42c22..8146964 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.279 +0.0.280 diff --git a/setup.py b/setup.py index 549234f..3fe92e9 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.279'], + install_requires=['ruff==0.0.280'], ) From 5997ecd133c20c853dcd82946a0f5467edfad463 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Jul 2023 03:51:25 +0000 Subject: [PATCH 84/91] Bump README.md version to 0.0.280 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0253a4d..1f96dab 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.279.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.279 + rev: v0.0.280 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.279 + rev: v0.0.280 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.279 + rev: v0.0.280 hooks: - id: ruff types_or: [python, pyi, jupyter] From 2b844a9c8b9defadd0a0fab39dace0b524999daa Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:21:54 +0000 Subject: [PATCH 85/91] Mirror: 0.0.281 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 8146964..5171753 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.280 +0.0.281 diff --git a/setup.py b/setup.py index 3fe92e9..11b1e3d 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.280'], + install_requires=['ruff==0.0.281'], ) From 2cdabd98736d013a9ddb771bf9057ec29936099d Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:21:55 +0000 Subject: [PATCH 86/91] Bump README.md version to 0.0.281 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1f96dab..ca14fa0 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.280.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.280 + rev: v0.0.281 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.280 + rev: v0.0.281 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.280 + rev: v0.0.281 hooks: - id: ruff types_or: [python, pyi, jupyter] From ade96e24aa3fa43c9d9b50d6cccae93d82765f40 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 13:58:08 +0000 Subject: [PATCH 87/91] Mirror: 0.0.282 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 5171753..2a28e41 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.281 +0.0.282 diff --git a/setup.py b/setup.py index 11b1e3d..c53e863 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.281'], + install_requires=['ruff==0.0.282'], ) From 6c0ceaccffa1ebb1db1ea1a6d7289b50d29bfce2 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 13:58:09 +0000 Subject: [PATCH 88/91] Bump README.md version to 0.0.282 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ca14fa0..5ba1218 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.281.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.281 + rev: v0.0.282 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.281 + rev: v0.0.282 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.281 + rev: v0.0.282 hooks: - id: ruff types_or: [python, pyi, jupyter] From 24ae3f3414d0e93f8e3229e3f910bbe914e0712e Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:01:29 +0000 Subject: [PATCH 89/91] Mirror: 0.0.283 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 2a28e41..14e617b 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.282 +0.0.283 diff --git a/setup.py b/setup.py index c53e863..fa4b3f0 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.282'], + install_requires=['ruff==0.0.283'], ) From a5b0cb474117b2642a8b3cf5a40d835885170bc2 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 19:01:30 +0000 Subject: [PATCH 90/91] Bump README.md version to 0.0.283 --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5ba1218..773bd7d 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # ruff-pre-commit [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) -[![image](https://img.shields.io/pypi/v/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/l/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) -[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.282.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/v/ruff/0.0.283.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/l/ruff/0.0.283.svg)](https://pypi.python.org/pypi/ruff) +[![image](https://img.shields.io/pypi/pyversions/ruff/0.0.283.svg)](https://pypi.python.org/pypi/ruff) [![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](https://github.com/astral-sh/ruff-pre-commit/actions) A [pre-commit](https://pre-commit.com/) hook for [Ruff](https://github.com/astral-sh/ruff). @@ -18,7 +18,7 @@ Add this to your `.pre-commit-config.yaml`: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.282 + rev: v0.0.283 hooks: - id: ruff ``` @@ -28,7 +28,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.282 + rev: v0.0.283 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -39,7 +39,7 @@ To run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.282 + rev: v0.0.283 hooks: - id: ruff types_or: [python, pyi, jupyter] From b9a5dc23ed421f99c0fe14b9ace2cbc7fbf710bd Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 19:04:50 +0000 Subject: [PATCH 91/91] Mirror: 0.0.284 --- .version | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.version b/.version index 14e617b..72a1b32 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.0.283 +0.0.284 diff --git a/setup.py b/setup.py index fa4b3f0..50dbf61 100644 --- a/setup.py +++ b/setup.py @@ -6,5 +6,5 @@ setup( name='pre_commit_placeholder_package', version='0.0.0', - install_requires=['ruff==0.0.283'], + install_requires=['ruff==0.0.284'], )