lintrunner 0.12.4__tar.gz → 0.12.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lintrunner might be problematic. Click here for more details.

Files changed (67) hide show
  1. {lintrunner-0.12.4 → lintrunner-0.12.7}/.github/workflows/CI.yml +8 -6
  2. {lintrunner-0.12.4 → lintrunner-0.12.7}/.github/workflows/Lint.yml +2 -0
  3. {lintrunner-0.12.4 → lintrunner-0.12.7}/CHANGELOG.md +15 -1
  4. {lintrunner-0.12.4 → lintrunner-0.12.7}/Cargo.lock +225 -215
  5. {lintrunner-0.12.4 → lintrunner-0.12.7}/Cargo.toml +1 -1
  6. {lintrunner-0.12.4 → lintrunner-0.12.7}/PKG-INFO +1 -1
  7. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/git.rs +1 -1
  8. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/lib.rs +3 -7
  9. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/main.rs +12 -2
  10. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/path.rs +2 -2
  11. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/persistent_data.rs +4 -4
  12. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/rage.rs +26 -1
  13. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/render.rs +1 -12
  14. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/testing.rs +3 -3
  15. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/integration_test.rs +2 -2
  16. {lintrunner-0.12.4 → lintrunner-0.12.7}/.gitignore +0 -0
  17. {lintrunner-0.12.4 → lintrunner-0.12.7}/.lintrunner.toml +0 -0
  18. {lintrunner-0.12.4 → lintrunner-0.12.7}/LICENSE +0 -0
  19. {lintrunner-0.12.4 → lintrunner-0.12.7}/README.md +0 -0
  20. {lintrunner-0.12.4 → lintrunner-0.12.7}/cliff.toml +0 -0
  21. {lintrunner-0.12.4 → lintrunner-0.12.7}/do_release.sh +0 -0
  22. {lintrunner-0.12.4 → lintrunner-0.12.7}/examples/config_example.toml +0 -0
  23. {lintrunner-0.12.4 → lintrunner-0.12.7}/examples/flake8_linter.py +0 -0
  24. {lintrunner-0.12.4 → lintrunner-0.12.7}/examples/rustfmt_linter.py +0 -0
  25. {lintrunner-0.12.4 → lintrunner-0.12.7}/pyproject.toml +0 -0
  26. {lintrunner-0.12.4 → lintrunner-0.12.7}/rustfmt.toml +0 -0
  27. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/init.rs +0 -0
  28. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/lint_config.rs +0 -0
  29. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/lint_message.rs +0 -0
  30. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/linter.rs +0 -0
  31. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/log_utils.rs +0 -0
  32. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/sapling.rs +0 -0
  33. {lintrunner-0.12.4 → lintrunner-0.12.7}/src/version_control.rs +0 -0
  34. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/fixtures/fake_source_file.rs +0 -0
  35. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__changed_init_causes_warning_1.snap +0 -0
  36. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__changed_init_causes_warning_2.snap +0 -0
  37. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__duplicate_code_fails.snap +0 -0
  38. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__empty_command_fails.snap +0 -0
  39. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__excluding_dryrun_fails.snap +0 -0
  40. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__format_command_doesnt_use_nonformat_linter.snap +0 -0
  41. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__git_head_files.snap +0 -0
  42. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__git_no_changes.snap +0 -0
  43. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__init_suppresses_warning.snap +0 -0
  44. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__invalid_args.snap +0 -0
  45. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__invalid_config_fails.snap +0 -0
  46. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__invalid_paths_cmd_and_from.snap +0 -0
  47. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__invalid_paths_cmd_and_specified_paths.snap +0 -0
  48. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__lint_with_no_linters.snap +0 -0
  49. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__linter_hard_failure_is_caught.snap +0 -0
  50. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__linter_nonexistent_command.snap +0 -0
  51. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__linter_providing_nonexistent_path_degrades_gracefully.snap +0 -0
  52. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__linter_replacement_trailing_newlines.snap +0 -0
  53. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__no_op_config_succeeds.snap +0 -0
  54. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__rage_command_output.snap +0 -0
  55. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter.snap +0 -0
  56. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_fails_on_nonexistent_file.snap +0 -0
  57. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_fake_second_config.snap +0 -0
  58. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_oneline.snap +0 -0
  59. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_only_under_dir.snap +0 -0
  60. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_replacement_message.snap +0 -0
  61. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__simple_linter_two_configs.snap +0 -0
  62. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__skip_nonexistent_linter.snap +0 -0
  63. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__take_nonexistent_linter.snap +0 -0
  64. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__tee_json.snap +0 -0
  65. {lintrunner-0.12.4 → lintrunner-0.12.7}/tests/snapshots/integration_test__unknown_config_fails.snap +0 -0
  66. {lintrunner-0.12.4 → lintrunner-0.12.7}/tools/convert_to_sarif.py +0 -0
  67. {lintrunner-0.12.4 → lintrunner-0.12.7}/tools/convert_to_sarif_test.py +0 -0
@@ -30,7 +30,9 @@ jobs:
30
30
 
31
31
  runs-on: ${{ matrix.os }}
32
32
  steps:
33
- - uses: actions/checkout@v3
33
+ - uses: actions/checkout@v4
34
+ with:
35
+ fetch-depth: 0
34
36
  - uses: actions-rs/toolchain@v1
35
37
  with:
36
38
  toolchain: stable
@@ -61,7 +63,7 @@ jobs:
61
63
  matrix:
62
64
  target: [x86_64, aarch64]
63
65
  steps:
64
- - uses: actions/checkout@v3
66
+ - uses: actions/checkout@v4
65
67
  - name: Build wheels
66
68
  uses: PyO3/maturin-action@v1
67
69
  with:
@@ -80,9 +82,9 @@ jobs:
80
82
  needs: test
81
83
  strategy:
82
84
  matrix:
83
- target: [x86]
85
+ target: [x86, x86_64]
84
86
  steps:
85
- - uses: actions/checkout@v3
87
+ - uses: actions/checkout@v4
86
88
  - name: Build wheels
87
89
  uses: PyO3/maturin-action@v1
88
90
  with:
@@ -102,7 +104,7 @@ jobs:
102
104
  matrix:
103
105
  target: [x86_64, aarch64]
104
106
  steps:
105
- - uses: actions/checkout@v3
107
+ - uses: actions/checkout@v4
106
108
  - name: Build wheels
107
109
  uses: PyO3/maturin-action@v1
108
110
  with:
@@ -119,7 +121,7 @@ jobs:
119
121
  runs-on: ubuntu-latest
120
122
  needs: test
121
123
  steps:
122
- - uses: actions/checkout@v3
124
+ - uses: actions/checkout@v4
123
125
  - name: Build sdist
124
126
  uses: PyO3/maturin-action@v1
125
127
  with:
@@ -57,3 +57,5 @@ jobs:
57
57
  sarif_file: lintrunner.sarif
58
58
  category: lintrunner
59
59
  checkout_path: ${{ github.workspace }}
60
+ - name: Run Clippy
61
+ run: cargo clippy -- -D warnings --verbose
@@ -1,6 +1,20 @@
1
1
  # Changelog
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
+ ## [0.12.7] - 2024-12-05
5
+
6
+ ### Bug Fixes
7
+
8
+ - Build x86\_64 wheels for Windows ([a4d6b74](https://github.com/suo/lintrunner/commit/a4d6b7469307acae7228d95ee08a4764b1e655f2))
9
+ - Fix [Clippy](https://doc.rust-lang.org/clippy/) violatoins ([05ff643](https://github.com/suo/lintrunner/commit/05ff6431bbeab7359e7b4e13e22cbb9e85c5c433))
10
+ - Fetch all commit history to fix MacOS builds ([3770be6](https://github.com/suo/lintrunner/commit/3770be65ee7b1186b83cf3873d47a439b275369d))
11
+
12
+
13
+ ## [0.12.5] - 2024-04-09
14
+
15
+ ### Features
16
+
17
+ - Add gist/pastry upload to lintrunner rage ([bd224ae](https://github.com/suo/lintrunner/commit/bd224aefdc5144cc85276695cd4fabf170f183a0))
4
18
 
5
19
  ## [0.12.1] - 2024-02-10
6
20
 
@@ -13,7 +27,7 @@ All notable changes to this project will be documented in this file.
13
27
 
14
28
  ### Bug Fixes
15
29
 
16
- - Properly fail if --get_paths cmd fails ([53c4961](https://github.com/suo/lintrunner/commit/53c496184eac9545e83d6a2714adf0bc1457316c))
30
+ - Properly fail if --get\_paths cmd fails ([53c4961](https://github.com/suo/lintrunner/commit/53c496184eac9545e83d6a2714adf0bc1457316c))
17
31
  - Dont panic when no linters are specified ([0527cf0](https://github.com/suo/lintrunner/commit/0527cf0792956a88a5fb2454688c975d0a8c8baf))
18
32
  - Make --all-files work with sl ([2df4572](https://github.com/suo/lintrunner/commit/2df4572ddf1a630889a0150ac8e6bf9d63340839))
19
33