Commit 0e85f07
Replace pylint + autopep8 with ruff for Python linting and formatting
- Replace autopep8 with ruff format, pylint with ruff check
- Add ruff.toml config at repo root (E, F, W, I, PL rule sets)
- Enable ruff check --fix in format.sh and lint.sh for safe auto-fixes
- Remove all ~229 inline pylint: disable comments
- Fix code violations: E731 (lambda), E741 (ambiguous var), E721 (type
comparison), PLW1641 (hash), PLR1722 (sys.exit), F541 (f-string),
E501 (line length), E702 (semicolons), PLW2901 (loop var overwrite)
- Add ~12 noqa comments for intentional global statements (PLW0603/PLW0602)
- Remove 8 zero-violation rules from ignore list to keep config minimal
- Fix lint.sh symlink path resolution breaking ruff config discovery
- Replace pylint and autopep8 deps with ruff in pyproject.toml
Resolves #1281
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent edff972 commit 0e85f07
File tree
156 files changed
+4001
-4015
lines changed- benchmarks
- 5eq_rk3_weno3_hllc
- hypo_hll
- ibm
- igr
- viscous_weno5_sgb_acoustic
- examples
- 0D_bubblecollapse_adap
- 1D_bubblescreen
- 1D_convergence
- 1D_exp_bubscreen
- 1D_exp_tube_phasechange
- 1D_hypo_2materials
- 1D_impact
- 1D_inert_shocktube
- 1D_laxshocktube
- 1D_multispecies_diffusion
- 1D_poly_bubscreen
- 1D_qbmm
- 1D_reactive_shocktube
- 1D_shuosher_analytical
- 1D_shuosher_old
- 1D_shuosher_teno5
- 1D_shuosher_teno7
- 1D_shuosher_wenojs5
- 1D_shuosher_wenom5
- 1D_shuosher_wenoz5
- 1D_sodHypo
- 1D_sodshocktube_muscl
- 1D_sodshocktube
- 1D_titarevtorro_analytical
- 1D_titarevtorro
- 2D_5wave_quasi1D
- 2D_GreshoVortex
- 2D_IGR_2fluid
- 2D_IGR_triple_point
- 2D_TaylorGreenVortex
- 2D_acoustic_pulse_analytical
- 2D_acoustic_pulse
- 2D_axisym_shockbubble
- 2D_axisym_shockwatercavity
- 2D_isentropicvortex_analytical
- 2D_isentropicvortex
- 2D_jet
- 2D_lagrange_bubblescreen
- 2D_laplace_pressure_jump
- 2D_lungwave_horizontal
- 2D_lungwave
- 2D_mixing_artificial_Ma
- 2D_phasechange_bubble
- 2D_rayleigh_taylor
- 2D_shockbubble
- 2D_shockdroplet_muscl
- 2D_shockdroplet
- 2D_shocktube_phasechange
- 2D_triple_point
- 2D_viscous
- 2D_whale_bubble_annulus
- 2D_zero_circ_vortex_analytical
- 2D_zero_circ_vortex
- 3D_IGR_33jet
- 3D_IGR_TaylorGreenVortex_nvidia
- 3D_IGR_TaylorGreenVortex
- 3D_IGR_jet
- 3D_TaylorGreenVortex_analytical
- 3D_TaylorGreenVortex
- 3D_lagrange_bubblescreen
- 3D_lagrange_shbubcollapse
- 3D_phasechange_bubble
- 3D_rayleigh_taylor_muscl
- 3D_rayleigh_taylor
- 3D_recovering_sphere
- 3D_shockdroplet_muscl
- 3D_shockdroplet
- 3D_turb_mixing
- nD_perfect_reactor
- scaling
- toolchain
- bootstrap
- mfc
- cli
- packer
- params_tests
- params
- generators
- run
- test
- viz
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
156 files changed
+4001
-4015
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | 2 | | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments