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

Ruff-only pre-commit hooks #855

Merged
merged 1 commit into from
May 19, 2024
Merged

Ruff-only pre-commit hooks #855

merged 1 commit into from
May 19, 2024

Conversation

gantoine
Copy link
Member

This PR adds pre-commit hooks for general file cleanup and formatting with ruff. All the changes are purely cleanup and shouldn't have changed any business logic. There's also commented out config for running mypy, which will need more work to get working, so will happen in a separate PR.

After merging, run pip/brew install pre-commit to install the pre-commit package globally.

@gantoine gantoine requested a review from zurdi15 May 18, 2024 15:50
Copy link

github-actions bot commented May 18, 2024

Test Results

73 tests  ±0   73 ✅ ±0   23s ⏱️ -1s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 880345f. ± Comparison against base commit 1957942.

♻️ This comment has been updated with latest results.

@gantoine gantoine marked this pull request as draft May 18, 2024 16:00
@gantoine gantoine marked this pull request as ready for review May 18, 2024 16:10
@zurdi15 zurdi15 merged commit 82c84d1 into master May 19, 2024
5 checks passed
@zurdi15 zurdi15 deleted the ruff-precommit-hooks branch May 19, 2024 17:49
@zurdi15 zurdi15 mentioned this pull request May 31, 2024
spiceratops added a commit to spiceratops/k8s-gitops that referenced this pull request Jun 8, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [rommapp/romm](https://togithub.com/rommapp/romm) | minor | `3.1.0` ->
`3.2.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>rommapp/romm (rommapp/romm)</summary>

### [`v3.2.0`](https://togithub.com/rommapp/romm/releases/tag/3.2.0)

[Compare
Source](https://togithub.com/rommapp/romm/compare/3.1.0...3.2.0)

### BIOS file support

We've added the ability to mount (or upload) your BIOS/firmware files
for any of the supported platforms. On top of that, when playing in
browser with our EmulatorJS integration, you'll now be able to select
both a BIOS file to load, and a core (when the system supports more then
1 core). Refer to the EmulatorJS for the complete list of available
cores for each system.

### Sharable & private notes

When viewing a game, you might notice a new tab called "Notes"; this is
your notepad, a blank space to jot down just about anything. With full
Markdown support, you have complete control over the style and layout of
your note.
You're also able to make the note "public" (using the little eye icon
next to the pencil), that is visible to every logged-in user on your
instance. And if they do the same, you'll get access to their note, for
easy sharing of tips and tricks.

|||
|---|---|

|![image](https://togithub.com/rommapp/romm/assets/34356590/84d0d5d4-334d-4bc4-a4a5-e62e7d5f3079)|![image](https://togithub.com/rommapp/romm/assets/34356590/521697ba-608c-4a24-bafc-1933d1fea615)|

### Performance improvements

On collections of 1000+ games/platforms with 250+ roms, we've measured a
10x to 20x improvement in load times. RomM should now feel faster
regardless of the size of your collection, with smoother gallery
navigation, faster loading of games on scroll, and real pagination
support in the list view.

#### What's Changed

- Games notes by [@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#828
- Copy download link dialog by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#846
- Firmware/BIOS support by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#830
- Upgraded front packages and adapted code by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#847
- Python package changes by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#844
- Fixed gallery play button for not supported platforms by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#848
- Fixed updating user images and ignore firmware files based on config
by [@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#851
- Purge platforms correctly on scan by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#858
- Ruff-only pre-commit hooks by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#855
- Added amiibo platform icon by
[@&#8203;Casuallynoted](https://togithub.com/Casuallynoted) in
[rommapp/romm#869
- Fixed emulatorjs game loading when game have non-ascii characters in
the name by [@&#8203;vincywindy](https://togithub.com/vincywindy) in
[rommapp/romm#872
- Fix search by ID for mobygames by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#863
- Platform fetch performance improvements by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#857
- Fixed uploading images for roms and users by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#874
- Fixed rom download by
[@&#8203;vincywindy](https://togithub.com/vincywindy) in
[rommapp/romm#876
- Improved general performance (10x faster load at home page and
galleries) by [@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#875
- Fixed scan view selectors by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#878
- Whats new link fixed by
[@&#8203;zurdi15](https://togithub.com/zurdi15) in
[rommapp/romm#880
- Only scan platform when selected by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#882
- Improved performance of Rom DB fetch by
[@&#8203;gantoine](https://togithub.com/gantoine) in
[rommapp/romm#883

#### New Contributors

- [@&#8203;vincywindy](https://togithub.com/vincywindy) made their first
contribution in
[rommapp/romm#872
- [@&#8203;Deekerman](https://togithub.com/Deekerman) a special shoutout
for being a right PITA

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODIuNCIsInVwZGF0ZWRJblZlciI6IjM3LjM4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants