egui/scripts
Yerkebulan Tulibergenov 7129418289
Use Python 3 in `scripts/lint.py` (#5617)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->

* [x] I have followed the instructions in the PR template

## Changes

- Use Python 3 in `scripts/lint.py`.

## Why

Some modern OS and distributions do not provide Python 2 by default.
This includes recent macOS versions.
I see that `scripts/generate_changelog.py` already uses Python 3, so I
don't think this change should be controversial.
Without this change, I am unable to run `./scripts/check.sh` on macOS
15.2 without installing Python 2 or adding alias for `python`
executable.
2025-01-22 15:28:38 +01:00
..
clippy_wasm Upgrade to wgpu 24 (#5610) 2025-01-16 17:00:29 +01:00
build_demo_web.sh wgpu: Bump to wgpu 23.0.0 and wasm-bindgen to 0.2.95 (#5330) 2024-10-30 18:53:22 +01:00
cargo_deny.sh Add `xtask` crate (#4293) 2024-04-21 19:26:16 +02:00
check.sh Upgrade to wgpu 24 (#5610) 2025-01-16 17:00:29 +01:00
clippy_wasm.sh Replace cargo-cranky with workspace lints (#4413) 2024-04-25 17:24:50 +02:00
docs.sh Rename `sh/` folder to `scripts/` 2023-04-18 17:10:52 +02:00
find_bloat.sh Rename `sh/` folder to `scripts/` 2023-04-18 17:10:52 +02:00
generate_changelog.py Improve changelog generation script 2024-12-12 16:57:52 +01:00
generate_example_screenshots.sh Update example screenshots 2024-02-05 13:01:10 +01:00
lint.py Use Python 3 in `scripts/lint.py` (#5617) 2025-01-22 15:28:38 +01:00
setup_web.sh Upgrade to wgpu 24 (#5610) 2025-01-16 17:00:29 +01:00
start_server.sh Change web demo local port to 8765 to avoid colliding with Jupyter 2024-06-28 08:37:21 +02:00
wasm_bindgen_check.sh Remove the need for setting `web_sys_unstable_apis` (#5000) 2024-08-26 16:31:38 +02:00
wasm_size.sh Rename `docs/` to `web_demo/` 2023-11-16 16:44:30 +01:00