Skip to content

Commit

Permalink
move ruff to prod requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s authored and symroe committed Oct 11, 2024
1 parent e1eee39 commit 851ad9b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
5 changes: 5 additions & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ uk-geo-utils
freezegun
polars

# ruff needs to be in the production requirements
# because https://github.com/DemocracyClub/UK-Polling-Stations/blob/7323740ecade04f8e883b18fb3363e6f6ec37ff6/polling_stations/apps/data_importers/import_script.py#L4-L14
# is used when we create a PR after a file upload is received
ruff==0.4.6

https://github.com/DemocracyClub/design-system/archive/refs/tags/0.4.6.zip
https://github.com/DemocracyClub/dc_django_utils/archive/refs/tags/7.0.1.zip
https://github.com/DemocracyClub/dc_logging/archive/refs/tags/1.1.0.zip
Expand Down
21 changes: 21 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,27 @@ rtree==1.3.0 \
# via
# -c requirements/constraints.txt
# -r requirements/base.in
ruff==0.4.6 \
--hash=sha256:04a80acfc862e0e1630c8b738e70dcca03f350bad9e106968a8108379e12b31f \
--hash=sha256:0cf5cc02d3ae52dfb0c8a946eb7a1d6ffe4d91846ffc8ce388baa8f627e3bd50 \
--hash=sha256:1fa8561489fadf483ffbb091ea94b9c39a00ed63efacd426aae2f197a45e67fc \
--hash=sha256:1ff930d6e05f444090a0139e4e13e1e2e1f02bd51bb4547734823c760c621e79 \
--hash=sha256:3a6a0a4f4b5f54fff7c860010ab3dd81425445e37d35701a965c0248819dde7a \
--hash=sha256:3f9ced5cbb7510fd7525448eeb204e0a22cabb6e99a3cb160272262817d49786 \
--hash=sha256:4d5b914818d8047270308fe3e85d9d7f4a31ec86c6475c9f418fbd1624d198e0 \
--hash=sha256:4f02284335c766678778475e7698b7ab83abaf2f9ff0554a07b6f28df3b5c259 \
--hash=sha256:602ebd7ad909eab6e7da65d3c091547781bb06f5f826974a53dbe563d357e53c \
--hash=sha256:735a16407a1a8f58e4c5b913ad6102722e80b562dd17acb88887685ff6f20cf6 \
--hash=sha256:9018bf59b3aa8ad4fba2b1dc0299a6e4e60a4c3bc62bbeaea222679865453062 \
--hash=sha256:a769ae07ac74ff1a019d6bd529426427c3e30d75bdf1e08bb3d46ac8f417326a \
--hash=sha256:a797a87da50603f71e6d0765282098245aca6e3b94b7c17473115167d8dfb0b7 \
--hash=sha256:be47700ecb004dfa3fd4dcdddf7322d4e632de3c06cd05329d69c45c0280e618 \
--hash=sha256:ea3424793c29906407e3cf417f28fc33f689dacbbadfb52b7e9a809dd535dcef \
--hash=sha256:ef995583a038cd4a7edf1422c9e19118e2511b8ba0b015861b4abd26ec5367c5 \
--hash=sha256:f13410aabd3b5776f9c5699f42b37a3a348d65498c4310589bc6e5c548dc8a2f
# via
# -c requirements/constraints.txt
# -r requirements/base.in
s3transfer==0.10.1 \
--hash=sha256:5683916b4c724f799e600f41dd9e10a9ff19871bf87623cc8f491cb4f5fa0a19 \
--hash=sha256:ceb252b11bcf87080fb7850a224fb6e05c8a776bab8f2b64b7f25b969464839d
Expand Down
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ ruff==0.4.6 \
--hash=sha256:ef995583a038cd4a7edf1422c9e19118e2511b8ba0b015861b4abd26ec5367c5 \
--hash=sha256:f13410aabd3b5776f9c5699f42b37a3a348d65498c4310589bc6e5c548dc8a2f
# via
# -r requirements/testing.in
# -r requirements/base.in
# pytest-ruff
s3transfer==0.10.1 \
--hash=sha256:5683916b4c724f799e600f41dd9e10a9ff19871bf87623cc8f491cb4f5fa0a19 \
Expand Down
1 change: 0 additions & 1 deletion requirements/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ playwright
pytest-playwright
pytest-ruff
pytest-vcr
ruff
1 change: 0 additions & 1 deletion requirements/testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ ruff==0.4.6 \
--hash=sha256:f13410aabd3b5776f9c5699f42b37a3a348d65498c4310589bc6e5c548dc8a2f
# via
# -c requirements/constraints.txt
# -r requirements/testing.in
# pytest-ruff
selenium==4.20.0 \
--hash=sha256:0bd564ee166980d419a8aaf4ac00289bc152afcf2eadca5efe8c8e36711853fd \
Expand Down

0 comments on commit 851ad9b

Please sign in to comment.