lintrunner 0.6.2__tar.gz → 0.12.11__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.
- lintrunner-0.12.11/.github/workflows/CI.yml +153 -0
- lintrunner-0.12.11/.github/workflows/Lint.yml +61 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/.gitignore +0 -4
- lintrunner-0.12.11/.lintrunner.toml +13 -0
- lintrunner-0.12.11/CHANGELOG.md +231 -0
- lintrunner-0.12.11/Cargo.lock +1415 -0
- lintrunner-0.12.11/Cargo.toml +36 -0
- lintrunner-0.12.11/PKG-INFO +9 -0
- lintrunner-0.6.2/PKG-INFO → lintrunner-0.12.11/README.md +33 -17
- lintrunner-0.12.11/cliff.toml +63 -0
- lintrunner-0.12.11/do_release.sh +13 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/examples/rustfmt_linter.py +24 -16
- {lintrunner-0.6.2 → lintrunner-0.12.11}/pyproject.toml +3 -1
- {lintrunner-0.6.2 → lintrunner-0.12.11}/rustfmt.toml +1 -0
- lintrunner-0.12.11/src/git.rs +415 -0
- lintrunner-0.12.11/src/init.rs +49 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/lib.rs +85 -29
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/lint_config.rs +70 -35
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/linter.rs +20 -6
- lintrunner-0.12.11/src/log_utils.rs +104 -0
- lintrunner-0.12.11/src/main.rs +373 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/path.rs +18 -2
- lintrunner-0.12.11/src/persistent_data.rs +318 -0
- lintrunner-0.12.11/src/rage.rs +83 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/render.rs +63 -28
- lintrunner-0.12.11/src/sapling.rs +511 -0
- lintrunner-0.12.11/src/testing.rs +114 -0
- lintrunner-0.12.11/src/version_control.rs +26 -0
- lintrunner-0.12.11/tests/integration_test.rs +919 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__changed_init_causes_warning_1.snap +12 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__changed_init_causes_warning_2.snap +12 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__duplicate_code_fails.snap +10 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__excluding_dryrun_fails.snap +11 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__format_command_doesnt_use_nonformat_linter.snap +11 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__invalid_config_fails.snap +13 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__invalid_paths_cmd_and_from.snap +1 -2
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__invalid_paths_cmd_and_specified_paths.snap +1 -2
- lintrunner-0.12.11/tests/snapshots/integration_test__lint_with_no_linters.snap +11 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__linter_hard_failure_is_caught.snap +1 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__linter_nonexistent_command.snap +1 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__linter_providing_nonexistent_path_degrades_gracefully.snap +1 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__linter_replacement_trailing_newlines.snap +29 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__no_op_config_succeeds.snap +12 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__rage_command_output.snap +12 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__simple_linter.snap +26 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__simple_linter_fails_on_nonexistent_file.snap +4 -2
- lintrunner-0.6.2/tests/snapshots/integration_test__simple_linter.snap → lintrunner-0.12.11/tests/snapshots/integration_test__simple_linter_fake_second_config.snap +1 -2
- lintrunner-0.12.11/tests/snapshots/integration_test__simple_linter_oneline.snap +12 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__simple_linter_only_under_dir.snap +11 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__simple_linter_replacement_message.snap +1 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__simple_linter_two_configs.snap +25 -0
- lintrunner-0.12.11/tests/snapshots/integration_test__tee_json.snap +6 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__unknown_config_fails.snap +3 -2
- lintrunner-0.12.11/tools/convert_to_sarif.py +137 -0
- lintrunner-0.12.11/tools/convert_to_sarif_test.py +179 -0
- lintrunner-0.6.2/.github/workflows/CI.yml +0 -85
- lintrunner-0.6.2/Cargo.lock +0 -800
- lintrunner-0.6.2/Cargo.toml +0 -27
- lintrunner-0.6.2/README.md +0 -145
- lintrunner-0.6.2/run-maturin-action.sh +0 -14
- lintrunner-0.6.2/src/git.rs +0 -396
- lintrunner-0.6.2/src/log_utils.rs +0 -31
- lintrunner-0.6.2/src/main.rs +0 -183
- lintrunner-0.6.2/tests/integration_test.rs +0 -374
- lintrunner-0.6.2/tests/snapshots/integration_test__invalid_config_fails.snap +0 -12
- {lintrunner-0.6.2 → lintrunner-0.12.11}/LICENSE +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/examples/config_example.toml +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/examples/flake8_linter.py +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/src/lint_message.rs +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/fixtures/fake_source_file.rs +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__empty_command_fails.snap +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__git_head_files.snap +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__git_no_changes.snap +0 -0
- /lintrunner-0.6.2/tests/snapshots/integration_test__no_op_config_succeeds.snap → /lintrunner-0.12.11/tests/snapshots/integration_test__init_suppresses_warning.snap +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__invalid_args.snap +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__skip_nonexistent_linter.snap +0 -0
- {lintrunner-0.6.2 → lintrunner-0.12.11}/tests/snapshots/integration_test__take_nonexistent_linter.snap +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.4.0
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- main
|
|
12
|
+
tags:
|
|
13
|
+
- 'v*'
|
|
14
|
+
pull_request:
|
|
15
|
+
workflow_dispatch:
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
permissions:
|
|
22
|
+
contents: read
|
|
23
|
+
|
|
24
|
+
jobs:
|
|
25
|
+
test:
|
|
26
|
+
strategy:
|
|
27
|
+
fail-fast: false
|
|
28
|
+
matrix:
|
|
29
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
30
|
+
|
|
31
|
+
runs-on: ${{ matrix.os }}
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
with:
|
|
35
|
+
fetch-depth: 0
|
|
36
|
+
- uses: actions-rs/toolchain@v1
|
|
37
|
+
with:
|
|
38
|
+
toolchain: stable
|
|
39
|
+
- name: Initialize git config for testing
|
|
40
|
+
run: |
|
|
41
|
+
git config --global user.email "fake@email.com"
|
|
42
|
+
git config --global user.name "mr fake"
|
|
43
|
+
git config --global init.defaultBranch main
|
|
44
|
+
- name: Install and initialize sapling on macos
|
|
45
|
+
if: matrix.os == 'macos-latest'
|
|
46
|
+
run: |
|
|
47
|
+
brew install sapling
|
|
48
|
+
sl config --user ui.username "mr fake <fake@email.com>"
|
|
49
|
+
- name: Run cargo test
|
|
50
|
+
uses: nick-fields/retry@v2.8.2
|
|
51
|
+
env:
|
|
52
|
+
TMPDIR: ${{ runner.temp }}
|
|
53
|
+
with:
|
|
54
|
+
timeout_minutes: 10
|
|
55
|
+
max_attempts: 10
|
|
56
|
+
retry_wait_seconds: 90
|
|
57
|
+
command: |
|
|
58
|
+
cargo test
|
|
59
|
+
|
|
60
|
+
linux:
|
|
61
|
+
runs-on: ubuntu-latest
|
|
62
|
+
needs: test
|
|
63
|
+
strategy:
|
|
64
|
+
matrix:
|
|
65
|
+
target: [x86_64, aarch64]
|
|
66
|
+
steps:
|
|
67
|
+
- uses: actions/checkout@v4
|
|
68
|
+
- name: Build wheels
|
|
69
|
+
uses: PyO3/maturin-action@v1
|
|
70
|
+
with:
|
|
71
|
+
target: ${{ matrix.target }}
|
|
72
|
+
args: --release --out dist
|
|
73
|
+
sccache: 'true'
|
|
74
|
+
manylinux: auto
|
|
75
|
+
- name: Upload wheels
|
|
76
|
+
uses: actions/upload-artifact@v4
|
|
77
|
+
with:
|
|
78
|
+
name: wheels-linux-${{ matrix.target }}
|
|
79
|
+
path: dist
|
|
80
|
+
|
|
81
|
+
windows:
|
|
82
|
+
runs-on: windows-latest
|
|
83
|
+
needs: test
|
|
84
|
+
strategy:
|
|
85
|
+
matrix:
|
|
86
|
+
target: [x86, x86_64]
|
|
87
|
+
steps:
|
|
88
|
+
- uses: actions/checkout@v4
|
|
89
|
+
- name: Build wheels
|
|
90
|
+
uses: PyO3/maturin-action@v1
|
|
91
|
+
with:
|
|
92
|
+
target: ${{ matrix.target }}
|
|
93
|
+
args: --release --out dist
|
|
94
|
+
sccache: 'true'
|
|
95
|
+
- name: Upload wheels
|
|
96
|
+
uses: actions/upload-artifact@v4
|
|
97
|
+
with:
|
|
98
|
+
name: wheels-windows-${{ matrix.target }}
|
|
99
|
+
path: dist
|
|
100
|
+
|
|
101
|
+
macos:
|
|
102
|
+
runs-on: macos-latest
|
|
103
|
+
needs: test
|
|
104
|
+
strategy:
|
|
105
|
+
matrix:
|
|
106
|
+
target: [x86_64, aarch64]
|
|
107
|
+
steps:
|
|
108
|
+
- uses: actions/checkout@v4
|
|
109
|
+
- name: Build wheels
|
|
110
|
+
uses: PyO3/maturin-action@v1
|
|
111
|
+
with:
|
|
112
|
+
target: ${{ matrix.target }}
|
|
113
|
+
args: --release --out dist
|
|
114
|
+
sccache: 'true'
|
|
115
|
+
- name: Upload wheels
|
|
116
|
+
uses: actions/upload-artifact@v4
|
|
117
|
+
with:
|
|
118
|
+
name: wheels-macos-${{ matrix.target }}
|
|
119
|
+
path: dist
|
|
120
|
+
|
|
121
|
+
sdist:
|
|
122
|
+
runs-on: ubuntu-latest
|
|
123
|
+
needs: test
|
|
124
|
+
steps:
|
|
125
|
+
- uses: actions/checkout@v4
|
|
126
|
+
- name: Build sdist
|
|
127
|
+
uses: PyO3/maturin-action@v1
|
|
128
|
+
with:
|
|
129
|
+
command: sdist
|
|
130
|
+
args: --out dist
|
|
131
|
+
- name: Upload sdist
|
|
132
|
+
uses: actions/upload-artifact@v4
|
|
133
|
+
with:
|
|
134
|
+
name: wheels-sdist
|
|
135
|
+
path: dist
|
|
136
|
+
|
|
137
|
+
release:
|
|
138
|
+
name: Release
|
|
139
|
+
runs-on: ubuntu-latest
|
|
140
|
+
if: "startsWith(github.ref, 'refs/tags/')"
|
|
141
|
+
needs: [linux, windows, macos, sdist]
|
|
142
|
+
steps:
|
|
143
|
+
- uses: actions/download-artifact@v4
|
|
144
|
+
with:
|
|
145
|
+
pattern: wheels-*
|
|
146
|
+
merge-multiple: true
|
|
147
|
+
- name: Publish to PyPI
|
|
148
|
+
uses: PyO3/maturin-action@v1
|
|
149
|
+
env:
|
|
150
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
151
|
+
with:
|
|
152
|
+
command: upload
|
|
153
|
+
args: --non-interactive --skip-existing *
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Lint
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- v*
|
|
9
|
+
pull_request:
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lintrunner:
|
|
17
|
+
name: lintrunner
|
|
18
|
+
strategy:
|
|
19
|
+
fail-fast: false
|
|
20
|
+
matrix:
|
|
21
|
+
os: [ubuntu-latest, windows-latest]
|
|
22
|
+
python_version: ["3.11"]
|
|
23
|
+
|
|
24
|
+
runs-on: ${{ matrix.os }}
|
|
25
|
+
steps:
|
|
26
|
+
- uses: actions/checkout@v3
|
|
27
|
+
- name: Setup Python
|
|
28
|
+
uses: actions/setup-python@v4
|
|
29
|
+
with:
|
|
30
|
+
python-version: ${{ matrix.python_version }}
|
|
31
|
+
- name: Install Lintrunner
|
|
32
|
+
run: |
|
|
33
|
+
pip install .
|
|
34
|
+
lintrunner init
|
|
35
|
+
- name: Run lintrunner on all files - Linux
|
|
36
|
+
if: matrix.os != 'windows-latest'
|
|
37
|
+
run: |
|
|
38
|
+
set +e
|
|
39
|
+
if ! lintrunner -v --force-color --all-files --tee-json=lint.json; then
|
|
40
|
+
echo ""
|
|
41
|
+
echo -e "\e[1m\e[36mYou can reproduce these results locally by using \`lintrunner -m main\`.\e[0m"
|
|
42
|
+
exit 1
|
|
43
|
+
fi
|
|
44
|
+
- name: Run lintrunner on all files - Windows
|
|
45
|
+
if: matrix.os == 'windows-latest'
|
|
46
|
+
run: lintrunner -v --force-color --all-files
|
|
47
|
+
- name: Produce SARIF
|
|
48
|
+
if: always() && matrix.os == 'ubuntu-latest'
|
|
49
|
+
run: |
|
|
50
|
+
python tools/convert_to_sarif.py --input lint.json --output lintrunner.sarif
|
|
51
|
+
- name: Upload SARIF file
|
|
52
|
+
if: always() && matrix.os == 'ubuntu-latest'
|
|
53
|
+
continue-on-error: true
|
|
54
|
+
uses: github/codeql-action/upload-sarif@v2
|
|
55
|
+
with:
|
|
56
|
+
# Path to SARIF file relative to the root of the repository
|
|
57
|
+
sarif_file: lintrunner.sarif
|
|
58
|
+
category: lintrunner
|
|
59
|
+
checkout_path: ${{ github.workspace }}
|
|
60
|
+
- name: Run Clippy
|
|
61
|
+
run: cargo clippy -- -D warnings --verbose
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
# will have compiled files and executables
|
|
3
3
|
/target/
|
|
4
4
|
|
|
5
|
-
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
|
|
6
|
-
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
|
7
|
-
Cargo.lock
|
|
8
|
-
|
|
9
5
|
# These are backup files generated by rustfmt
|
|
10
6
|
**/*.rs.bk
|
|
11
7
|
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.12.11] - 2026-01-07
|
|
6
|
+
|
|
7
|
+
### Testing
|
|
8
|
+
|
|
9
|
+
- Fix snapshot test ([b7cd9f5](https://github.com/suo/lintrunner/commit/b7cd9f52117efaa0f714d27cd886626ecba906e9))
|
|
10
|
+
|
|
11
|
+
## [0.12.10] - 2026-01-06
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- Demote missing config file warning to debug level ([376954e](https://github.com/suo/lintrunner/commit/376954e4cf338e606785d557e452beb092cd6b4e))
|
|
16
|
+
- Use unique artifact names for upload-artifact v4 ([cb8a312](https://github.com/suo/lintrunner/commit/cb8a312620caf6dbfe21be51c677ca65e33d4b9c))
|
|
17
|
+
|
|
18
|
+
## [0.12.9] - 2026-01-06
|
|
19
|
+
|
|
20
|
+
### Testing
|
|
21
|
+
|
|
22
|
+
- Update test snapshots ([d0cba1a](https://github.com/suo/lintrunner/commit/d0cba1a577cde460899ac1fd09576a70ab09da49))
|
|
23
|
+
|
|
24
|
+
## [0.12.8] - 2026-01-06
|
|
25
|
+
|
|
26
|
+
### Testing
|
|
27
|
+
|
|
28
|
+
- Fix flaky git tests ([eb9b77f](https://github.com/suo/lintrunner/commit/eb9b77ff6dc6a1aeb3e1a2b49ba38289fbae5299))
|
|
29
|
+
|
|
30
|
+
### Ci
|
|
31
|
+
|
|
32
|
+
- Update upload-artifact to v4 ([#90](https://github.com/suo/lintrunner/issues/90)) ([f05b0a3](https://github.com/suo/lintrunner/commit/f05b0a3f56fbc183b11347a2a879e2009fc982b7))
|
|
33
|
+
|
|
34
|
+
### Render
|
|
35
|
+
|
|
36
|
+
- Show backtraces ([#94](https://github.com/suo/lintrunner/issues/94)) ([67cfd36](https://github.com/suo/lintrunner/commit/67cfd3630f292f0288e2b7624c83122a4a8263b8))
|
|
37
|
+
|
|
38
|
+
## [0.12.7] - 2024-12-05
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- Build x86_64 wheels for Windows ([#73](https://github.com/suo/lintrunner/issues/73)) ([a4d6b74](https://github.com/suo/lintrunner/commit/a4d6b7469307acae7228d95ee08a4764b1e655f2))
|
|
43
|
+
|
|
44
|
+
## [0.12.5] - 2024-04-09
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- Add gist/pastry upload to lintrunner rage ([#70](https://github.com/suo/lintrunner/issues/70)) ([bd224ae](https://github.com/suo/lintrunner/commit/bd224aefdc5144cc85276695cd4fabf170f183a0))
|
|
49
|
+
|
|
50
|
+
## [0.12.1] - 2024-02-10
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- Properly filter ignored files in sapling all-files ([34dd8b2](https://github.com/suo/lintrunner/commit/34dd8b295c58b1055916f18dd55272fffc64e705))
|
|
55
|
+
- Make rage command robust to missing data ([a96ceec](https://github.com/suo/lintrunner/commit/a96ceec6ce3f8ae798f08d34c5f6de133814363b))
|
|
56
|
+
|
|
57
|
+
## [0.12.0] - 2024-02-10
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
- Properly fail if --get_paths cmd fails ([53c4961](https://github.com/suo/lintrunner/commit/53c496184eac9545e83d6a2714adf0bc1457316c))
|
|
62
|
+
- Dont panic when no linters are specified ([0527cf0](https://github.com/suo/lintrunner/commit/0527cf0792956a88a5fb2454688c975d0a8c8baf))
|
|
63
|
+
- Make --all-files work with sl ([2df4572](https://github.com/suo/lintrunner/commit/2df4572ddf1a630889a0150ac8e6bf9d63340839))
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
- Add a list subcommand to show available linters ([0765237](https://github.com/suo/lintrunner/commit/0765237900aaa7e0ecb3491227b073fa72216b36))
|
|
68
|
+
|
|
69
|
+
### Testing
|
|
70
|
+
|
|
71
|
+
- Fix snapshot test ([7c345da](https://github.com/suo/lintrunner/commit/7c345da7342aca42645cab8551ef232581083f11))
|
|
72
|
+
|
|
73
|
+
## [0.11.1] - 2024-01-30
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
- Log relative-to argument ([2bbe82f](https://github.com/suo/lintrunner/commit/2bbe82f0d652d59a04ab010be16cf0e85d525d50))
|
|
78
|
+
|
|
79
|
+
### Documentation
|
|
80
|
+
|
|
81
|
+
- Update README to include options and link to github action ([#55](https://github.com/suo/lintrunner/issues/55)) ([9efb969](https://github.com/suo/lintrunner/commit/9efb969e27f5775e619a3bbf51576a175557e3f8))
|
|
82
|
+
- Remove redirect to pytorch/test-infra ([f065574](https://github.com/suo/lintrunner/commit/f065574253f003bd7604c5ef67956628add3269c))
|
|
83
|
+
|
|
84
|
+
### Testing
|
|
85
|
+
|
|
86
|
+
- Guard sl tests with mutex ([a9feaea](https://github.com/suo/lintrunner/commit/a9feaea47735c98b32685b65e9fe85f0672874f0))
|
|
87
|
+
|
|
88
|
+
## [0.10.7] - 2023-03-02
|
|
89
|
+
|
|
90
|
+
### Bug Fixes
|
|
91
|
+
|
|
92
|
+
- Run clippy and rustfmt; fix issues ([#34](https://github.com/suo/lintrunner/issues/34)) ([b0e8be2](https://github.com/suo/lintrunner/commit/b0e8be295e5a0e959f36ea740b95780a9abe7400))
|
|
93
|
+
- Fix and enable rustfmt linter ([#35](https://github.com/suo/lintrunner/issues/35)) ([507d273](https://github.com/suo/lintrunner/commit/507d27314283fd5c6acede4e75800766921e358d))
|
|
94
|
+
|
|
95
|
+
### Features
|
|
96
|
+
|
|
97
|
+
- Enable setting default --merge-base-with values ([75ea9c0](https://github.com/suo/lintrunner/commit/75ea9c09cd6904e6e53170af0661fd3dcb39c9e9))
|
|
98
|
+
|
|
99
|
+
## [0.10.5] - 2023-01-19
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
- Add a space to the severity on oneline format ([#30](https://github.com/suo/lintrunner/issues/30)) ([5120786](https://github.com/suo/lintrunner/commit/5120786d3a61bf9013563a126f61f9cb5727be1a))
|
|
104
|
+
|
|
105
|
+
## [0.10.2] - 2023-01-13
|
|
106
|
+
|
|
107
|
+
### Features
|
|
108
|
+
|
|
109
|
+
- Update the message format produced by `convert_to_sarif.py` ([#28](https://github.com/suo/lintrunner/issues/28)) ([b3370bf](https://github.com/suo/lintrunner/commit/b3370bff64ee5bdaad7faef89b4127c2d3b4f357))
|
|
110
|
+
|
|
111
|
+
## [0.10.1] - 2023-01-13
|
|
112
|
+
|
|
113
|
+
### Bug Fixes
|
|
114
|
+
|
|
115
|
+
- Allow --paths-cmd to run on Windows ([#23](https://github.com/suo/lintrunner/issues/23)) ([a1c4191](https://github.com/suo/lintrunner/commit/a1c4191575959974ce5b17269f624b17e93951a0))
|
|
116
|
+
|
|
117
|
+
## [0.10.0] - 2022-11-28
|
|
118
|
+
|
|
119
|
+
### Bug Fixes
|
|
120
|
+
|
|
121
|
+
- Typo in init_command doc ([#17](https://github.com/suo/lintrunner/issues/17)) ([fa8d7b3](https://github.com/suo/lintrunner/commit/fa8d7b32641e58c041e9f3bf15a4b26e1afff915))
|
|
122
|
+
- Path construction errors on Windows ([#19](https://github.com/suo/lintrunner/issues/19)) ([032bea6](https://github.com/suo/lintrunner/commit/032bea69f31f6ccfab5cb6670edfb5adb22f1840))
|
|
123
|
+
|
|
124
|
+
### Features
|
|
125
|
+
|
|
126
|
+
- A tool to convert json output to SARIF format ([#16](https://github.com/suo/lintrunner/issues/16)) ([1c991af](https://github.com/suo/lintrunner/commit/1c991affb15edac2bb67080e49bf0e5037b47e92))
|
|
127
|
+
- Add lint_message.name to oneline output ([#21](https://github.com/suo/lintrunner/issues/21)) ([84f3d34](https://github.com/suo/lintrunner/commit/84f3d34c6db340bdbbe63a4d192004f17769758b))
|
|
128
|
+
|
|
129
|
+
### Testing
|
|
130
|
+
|
|
131
|
+
- Fix linux ci ([c443387](https://github.com/suo/lintrunner/commit/c443387ff9a42a6f8c9b0e8add04220d2fea46a1))
|
|
132
|
+
|
|
133
|
+
## [0.9.3] - 2022-09-23
|
|
134
|
+
|
|
135
|
+
### Bug Fixes
|
|
136
|
+
|
|
137
|
+
- Don't check files that were deleted/moved in working tree ([0fbb2f3](https://github.com/suo/lintrunner/commit/0fbb2f3d01a08088606ee6650e98d9db9b0b7b3a))
|
|
138
|
+
|
|
139
|
+
### Testing
|
|
140
|
+
|
|
141
|
+
- Add unit test for trailing whitespace ([bbbcffd](https://github.com/suo/lintrunner/commit/bbbcffd7d095b16fc831fe48c163b4805e6a9aa0))
|
|
142
|
+
- Add missing snapshot ([9fda576](https://github.com/suo/lintrunner/commit/9fda576f330392c244527defb6e80250663744c6))
|
|
143
|
+
|
|
144
|
+
## [0.9.2] - 2022-05-11
|
|
145
|
+
|
|
146
|
+
### Bug Fixes
|
|
147
|
+
|
|
148
|
+
- Add more runtime info to logs ([80e78de](https://github.com/suo/lintrunner/commit/80e78dee128f834f4f696c652bcec32a4f0e0d1c))
|
|
149
|
+
|
|
150
|
+
### Features
|
|
151
|
+
|
|
152
|
+
- Add --all-files command ([3d64ad3](https://github.com/suo/lintrunner/commit/3d64ad33ca94172ee27830fb772c35d469b41028))
|
|
153
|
+
|
|
154
|
+
## [0.9.1] - 2022-05-11
|
|
155
|
+
|
|
156
|
+
### Features
|
|
157
|
+
|
|
158
|
+
- Add --tee-json option ([5978ec0](https://github.com/suo/lintrunner/commit/5978ec0e47f38bd0252c3f5afa02d27314edd875))
|
|
159
|
+
|
|
160
|
+
## [0.9.0] - 2022-05-10
|
|
161
|
+
|
|
162
|
+
### Bug Fixes
|
|
163
|
+
|
|
164
|
+
- Add --version command-line arg ([7932c44](https://github.com/suo/lintrunner/commit/7932c44d80279e54b67e02d256b356104ba4bcc2))
|
|
165
|
+
- Escape command-line args in log ([1018103](https://github.com/suo/lintrunner/commit/10181032e2093bcf0cb233300b982da459a71975))
|
|
166
|
+
- Error if duplicate linters found ([89064c1](https://github.com/suo/lintrunner/commit/89064c1f808d7e76ecc183c182b9c1ac4d765704))
|
|
167
|
+
- Escape linter initializer in logs ([0a0f0ec](https://github.com/suo/lintrunner/commit/0a0f0ec1d86b02f77a680ad8e4560ed80219b849))
|
|
168
|
+
- Properly ignore current run on `rage -i` ([#6](https://github.com/suo/lintrunner/issues/6)) ([e4989eb](https://github.com/suo/lintrunner/commit/e4989ebe598d7268d4ae715484ec21a57aadd426))
|
|
169
|
+
- Show milliseconds in rage run timestamp ([9780a2b](https://github.com/suo/lintrunner/commit/9780a2b8774b3c6e52b29414435a038840a3aabf))
|
|
170
|
+
|
|
171
|
+
### Documentation
|
|
172
|
+
|
|
173
|
+
- Update changelog ([82c3335](https://github.com/suo/lintrunner/commit/82c33359f0cde758e7153d4ba450751afbc6c6c8))
|
|
174
|
+
|
|
175
|
+
### Features
|
|
176
|
+
|
|
177
|
+
- Add rage command for bug reporting ([bb80fef](https://github.com/suo/lintrunner/commit/bb80fef49fabad5558e77786e157b4ea822d0f23))
|
|
178
|
+
|
|
179
|
+
## [0.8.0] - 2022-05-02
|
|
180
|
+
|
|
181
|
+
### Bug Fixes
|
|
182
|
+
|
|
183
|
+
- Add severity to oneline message ([14495be](https://github.com/suo/lintrunner/commit/14495be590d1b8c223a07f59ccdb6600d22e92c4))
|
|
184
|
+
- Unify output controlling commands into --output ([8b95e7b](https://github.com/suo/lintrunner/commit/8b95e7b76c65dc4187b17b9851ce902aebc58944))
|
|
185
|
+
|
|
186
|
+
### Documentation
|
|
187
|
+
|
|
188
|
+
- Improve help message ([0630560](https://github.com/suo/lintrunner/commit/06305606f9d840610487a9b7dff9a159a05fb8d1))
|
|
189
|
+
|
|
190
|
+
### Features
|
|
191
|
+
|
|
192
|
+
- Warn if init seems out of date ([4050dd7](https://github.com/suo/lintrunner/commit/4050dd7fe883c419e0af110a7d2c6887b6ba08f0))
|
|
193
|
+
- Format command ([bf7925d](https://github.com/suo/lintrunner/commit/bf7925df7b1aac0265e3bf88ef8ca05d720e0560))
|
|
194
|
+
|
|
195
|
+
### Testing
|
|
196
|
+
|
|
197
|
+
- Add integration test for init warnings ([9c75f29](https://github.com/suo/lintrunner/commit/9c75f293cdccbd662f922548861b277c70f9d14d))
|
|
198
|
+
- Add integration test for dryrun error on init config ([88738ca](https://github.com/suo/lintrunner/commit/88738ca299179588e9abae6b8265c8287270edb6))
|
|
199
|
+
|
|
200
|
+
### Build
|
|
201
|
+
|
|
202
|
+
- Run cargo upgrade ([0241c01](https://github.com/suo/lintrunner/commit/0241c01630187ce3817ee1964f858ebc7b85d10a))
|
|
203
|
+
|
|
204
|
+
## [0.7.0] - 2022-04-15
|
|
205
|
+
|
|
206
|
+
### Features
|
|
207
|
+
|
|
208
|
+
- Add --oneline arg for compact lint rendering ([a0a9e87](https://github.com/suo/lintrunner/commit/a0a9e878781a2ead70ff7bfc94064275eeb79020))
|
|
209
|
+
|
|
210
|
+
## [0.6.2] - 2022-04-15
|
|
211
|
+
|
|
212
|
+
### Bug Fixes
|
|
213
|
+
|
|
214
|
+
- Do not allow * to match across path segments ([382413a](https://github.com/suo/lintrunner/commit/382413aa40edf2dead74fd9f25fdd01bac00bd80))
|
|
215
|
+
|
|
216
|
+
### Testing
|
|
217
|
+
|
|
218
|
+
- Add test for deleted files with --revision specified ([19c6fee](https://github.com/suo/lintrunner/commit/19c6fee0d11096c4ba7e7182fd3178b170cddb10))
|
|
219
|
+
|
|
220
|
+
## [0.6.1] - 2022-04-15
|
|
221
|
+
|
|
222
|
+
### Bug Fixes
|
|
223
|
+
|
|
224
|
+
- Correct order of arguments while gathering files to lint ([9c2093d](https://github.com/suo/lintrunner/commit/9c2093d4dace6e3570cad9bc5b363e0b3fc50b3c))
|
|
225
|
+
|
|
226
|
+
### Documentation
|
|
227
|
+
|
|
228
|
+
- Update install instructions ([a3095fd](https://github.com/suo/lintrunner/commit/a3095fde2edacb0dba93250cfca35f2000c4c009))
|
|
229
|
+
- Add --merge-base-with to readme ([8d51a11](https://github.com/suo/lintrunner/commit/8d51a117e833211ef275355d27c64eacab40cbce))
|
|
230
|
+
|
|
231
|
+
<!-- generated by git-cliff -->
|