Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-commit update, minor updates to recipes that use DeprecationWarning #640

Merged
merged 4 commits into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/homebysix/pre-commit-macadmin
rev: v1.15.0
rev: v1.16.1
hooks:
- id: check-autopkg-recipes
args: ["--recipe-prefix=com.github.homebysix.", "--strict", "--"]
Expand All @@ -9,7 +9,7 @@ repos:
exclude: ^Corel\/
- id: forbid-autopkg-trust-info
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
args: ["--maxkb=100"]
Expand All @@ -28,7 +28,7 @@ repos:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- repo: https://github.com/ambv/black
rev: 24.1.1
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pycqa/isort
Expand All @@ -45,6 +45,6 @@ repos:
- id: blacken-docs
additional_dependencies: [black==24.1.1]
- repo: https://github.com/PyCQA/pylint
rev: v3.0.3
rev: v3.2.3
hooks:
- id: pylint
2 changes: 1 addition & 1 deletion GitButler/GitButler.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>Created with Recipe Robot v2.3.0 (https://github.com/homebysix/recipe-robot)</string>
<key>Description</key>
<string>Downloads the latest version of GitButler.

Valid strings for ARCH input variable include:
- x86_64: Download for Intel-based Macs (default)
- aarch64: Download for Apple Silicon-based Macs
Expand Down
2 changes: 1 addition & 1 deletion Karelia/Tangerine.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string>Tangerine!</string>
</dict>
<key>MinimumVersion</key>
<string>0.6.1</string>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion Karelia/TheHitList.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string>The Hit List</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion MarinerSoftware/MacGourmet.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string>MacGourmet</string>
</dict>
<key>MinimumVersion</key>
<string>1.0.0</string>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion MarinerSoftware/MacJournal.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string>MacJournal</string>
</dict>
<key>MinimumVersion</key>
<string>0.6.1</string>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion MarinerSoftware/Persona.download.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string>Persona</string>
</dict>
<key>MinimumVersion</key>
<string>0.6.1</string>
<string>1.1</string>
<key>Process</key>
<array>
<dict>
Expand Down
2 changes: 2 additions & 0 deletions R/RProjectURLProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def main(self):
raise ProcessorError("Architecture must be one of: x86_64, arm64")

# Prepare regular expression
pattern = r""
url_base = ""
if arch == "x86_64":
pattern = r'base\/(?P<file>R-(?P<vers>[\d.]+)-x86_64\.pkg)">R-[\d.]+-x86_64\.pkg</a>'
url_base = "https://cran.r-project.org/bin/macosx/big-sur-x86_64/base/"
Expand Down
Loading