ruff/docs
konsti a7fc785cc5
Add a ruff docker image at ghcr.io/astral-sh/ruff (#8554)
This dockerfile creates a minimal docker container that runs ruff

```console
$ docker run -v .:/io --rm ruff check --select G004 .
scripts/check_ecosystem.py:51:26: G004 Logging statement uses f-string
scripts/check_ecosystem.py:55:22: G004 Logging statement uses f-string
scripts/check_ecosystem.py:84:13: G004 Logging statement uses f-string
scripts/check_ecosystem.py:177:18: G004 Logging statement uses f-string
scripts/check_ecosystem.py:200:18: G004 Logging statement uses f-string
scripts/check_ecosystem.py:354:18: G004 Logging statement uses f-string
scripts/check_ecosystem.py:477:18: G004 Logging statement uses f-string
Found 7 errors.
```

```console
$ docker image ls ruff
 REPOSITORY   TAG       IMAGE ID       CREATED         SIZE
 ruff         latest    505876b0f817   2 minutes ago   16.2MB
```

Test repo: https://github.com/konstin/release-testing2
Successful build:
1865915510
The package:
https://github.com/konstin/release-testing2/pkgs/container/release-testing2

After merging this, i have to manually push the first image and connect
it the repo in the github UI or the action will fail due to lack of
permissions

Open questions:
* Test arm version: Anyone working on an aarch64 linux machine? I don't
see this failing or a high-priority deployment (the vast majority of
linux users is on x86), but it would be nice to have it tested one.

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2023-11-17 19:44:28 +01:00
..
.overrides/partials/integrations/analytics Move some MkDocs responsibilities around (#5542) 2023-07-05 22:06:01 +00:00
assets Update docs to match updated logo and color palette (#5283) 2023-06-22 11:19:34 -04:00
formatter Document context manager breaking deviation vs. Black (#8597) 2023-11-10 04:32:29 +00:00
stylesheets Improve detail link contrast in dark mode (#8548) 2023-11-07 21:41:34 +00:00
.gitignore Fix gitignore to not ignore files that are required (#7538) 2023-09-21 21:33:09 +02:00
configuration.md Add missing config tabs (#8558) 2023-11-09 01:49:06 +00:00
faq.md Document conventions in the FAQ (#8638) 2023-11-12 22:56:39 +00:00
formatter.md Added tabs for configuration files in the documentation (#8480) 2023-11-05 17:10:29 +00:00
installation.md Add a ruff docker image at ghcr.io/astral-sh/ruff (#8554) 2023-11-17 19:44:28 +01:00
integrations.md Bump version to v0.1.6 (#8744) 2023-11-17 13:29:19 -05:00
linter.md Added tabs for configuration files in the documentation (#8480) 2023-11-05 17:10:29 +00:00
preview.md Fix docs typo for ruff format preview configuration (#8611) 2023-11-11 03:07:32 +00:00
requirements-insiders.txt Redirect from rule codes to rule pages in docs (#8636) 2023-11-12 17:47:10 -05:00
requirements.txt Redirect from rule codes to rule pages in docs (#8636) 2023-11-12 17:47:10 -05:00
tutorial.md Apply consistent code block labels (#8563) 2023-11-09 01:49:24 +00:00
versioning.md Add note about scope of rule changing in versioning policy (#8169) 2023-10-24 11:38:31 -05:00