Charlie Marsh
651f6b6bce
Bump Ruff version to 0.0.240
2023-02-02 12:45:23 -05:00
Charlie Marsh
dbd640d90f
Remove unused Cargo.lock file ( #2437 )
2023-02-01 07:33:59 -05:00
Charlie Marsh
c15595325c
Bump version to 0.0.239
2023-01-31 19:06:22 -05:00
Charlie Marsh
1cbd929a0a
Bump version to 0.0.238
2023-01-30 16:44:19 -05:00
Charlie Marsh
add7fefeb5
Bump version to 0.0.237
2023-01-28 10:52:14 -05:00
Charlie Marsh
685d9ab848
Bump version to 0.0.236
2023-01-26 18:47:00 -05:00
Martin Fischer
d9ead4e6df
refactor: Rename CLI arg structs from Cli to Args
...
Technically the command-line interface (CLI) encompasses both input and
output, so naming the input structs 'Args' is more accurate than 'Cli'.
2023-01-25 22:08:35 -05:00
Charlie Marsh
edd0e16a02
Bump version to 0.0.235
2023-01-25 18:28:27 -05:00
Charlie Marsh
9b07d0bd92
Bump version to 0.0.234
2023-01-25 16:55:57 -05:00
Martin Fischer
f6fd702d41
Add #![warn(clippy::pedantic)] to lib.rs and main.rs files
...
We already enforced pedantic clippy lints via the
following command in .github/workflows/ci.yaml:
cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::pedantic
Additionally adding #![warn(clippy::pedantic)] to all main.rs and lib.rs
has the benefit that violations of pedantic clippy lints are also
reported when just running `cargo clippy` without any arguments and
are thereby also picked up by LSP[1] servers such as rust-analyzer[2].
However for rust-analyzer to run clippy you'll have to configure:
"rust-analyzer.check.command": "clippy",
in your editor.[3]
[1]: https://microsoft.github.io/language-server-protocol/
[2]: https://rust-analyzer.github.io/
[3]: https://rust-analyzer.github.io/manual.html#configuration
2023-01-25 00:40:29 -05:00
Martin Fischer
2125d0bb54
refactor: Move #![forbid(unsafe_code)] attributes up
...
What's forbidden is more important than which clippy lints are
ignored and more important directives should come first.
2023-01-25 00:40:29 -05:00
Charlie Marsh
605416922d
Bump version to 0.0.233
2023-01-24 10:46:49 -05:00
Charlie Marsh
7b81f36e54
Enable executable checks on Windows ( #2133 )
2023-01-24 10:46:27 -05:00
Charlie Marsh
d645a19e0a
Bump version to 0.0.232
2023-01-24 09:49:07 -05:00
Charlie Marsh
549a5d44bc
Upgrade to toml v0.6.0 ( #2116 )
...
Closes #1894 .
2023-01-23 19:22:42 -05:00
Charlie Marsh
1c3265ef98
Bump version to 0.0.231
2023-01-23 12:51:09 -05:00
Charlie Marsh
23b622943e
Bump version to 0.0.230
2023-01-22 13:58:41 -05:00
Shannon Rothe
36fb8f7a63
flake8_to_ruff: support isort options ( #2082 )
...
See: https://github.com/charliermarsh/ruff/issues/1749 .
2023-01-22 13:18:01 -05:00
Charlie Marsh
84300e00ff
Bump version to 0.0.229
2023-01-21 13:18:06 -05:00
Charlie Marsh
465943adf7
Revert "Upgrade to toml v0.5.11" ( #2058 )
...
This _did_ fix https://github.com/charliermarsh/ruff/issues/1894 , but was a little premature. `toml` doesn't actually depend on `toml-edit` yet, and `v0.5.11` was mostly about deprecations AFAICT. So upgrading might solve that issue, but could introduce other incompatibilities, and I'd like to minimize churn. I expect that `toml` will have a new release soon, so we can revert this revert.
Reverts charliermarsh/ruff#2040 .
2023-01-21 07:54:56 -05:00
Charlie Marsh
20a9252e92
Upgrade to toml v0.5.11 ( #2040 )
...
In #1680 , we moved over to `toml_edit`. But it looks like `toml` now uses `toml_edit`, and has implemented some improvements (e.g., this closes #1894 ).
2023-01-20 17:20:45 -05:00
Charlie Marsh
5377d24507
Bump version to 0.0.228
2023-01-20 09:58:56 -05:00
Charlie Marsh
cf56955ba6
Bump version to 0.0.227
2023-01-19 23:24:52 -05:00
Charlie Marsh
d8645acd1f
Bump version to 0.0.226
2023-01-18 20:54:38 -05:00
Charlie Marsh
cdb4700813
Bump version to 0.0.225
2023-01-18 00:22:48 -05:00
Charlie Marsh
74a8a218f3
Bump version to 0.0.224
2023-01-16 23:43:14 -05:00
Charlie Marsh
3a3a5fcd81
Remove -dev suffix from flake8_to_ruff
2023-01-15 22:45:14 -05:00
Charlie Marsh
e8577d5e26
Bump version to 0.0.223
2023-01-15 22:44:01 -05:00
Charlie Marsh
e3cc918b93
Bump version to 0.0.222
2023-01-14 23:34:53 -05:00
Martin Fischer
cfa25ea4b0
Make ruff::rules private
2023-01-14 18:23:59 -05:00
Martin Fischer
3b36030461
Introduce ruff::rules module
...
Resolves #1547 .
2023-01-14 11:48:02 -05:00
Martin Fischer
69b356e9b9
Add top-level doc comments for crates
...
Test by running:
cargo doc --no-deps --all --open
2023-01-14 10:11:30 -05:00
Martin Fischer
06b389c5bc
Turn flake8_to_ruff into a bin-only crate
2023-01-14 10:11:30 -05:00
Charlie Marsh
027382f891
Add support for namespace packages ( #1859 )
...
Closes #1817 .
2023-01-14 07:31:57 -05:00
Charlie Marsh
931d41bff1
Revert "Bump version to 0.0.222"
...
This reverts commit 852aab5758 .
2023-01-13 23:56:29 -05:00
Charlie Marsh
852aab5758
Bump version to 0.0.222
2023-01-13 23:50:08 -05:00
Charlie Marsh
ee6c81d02a
Bump version to 0.0.221
2023-01-13 23:33:15 -05:00
Charlie Marsh
9aeb5df5fe
Bump version to 0.0.220
2023-01-12 17:57:04 -05:00
Charlie Marsh
d8162ce79d
Bump version to 0.0.219
2023-01-11 23:46:01 -05:00
Charlie Marsh
cfbd068dd5
Bump version to 0.0.218
2023-01-10 21:28:23 -05:00
Charlie Marsh
1e94e0221f
Disable doctests ( #1772 )
...
We don't have any doctests, but `cargo test --all` spends more than half
the time on doctests? A little confusing, but this brings the test time
from > 4s to < 2s on my machine.
2023-01-10 15:10:16 -05:00
Charlie Marsh
edab268d50
Bump version to 0.0.217
2023-01-09 23:26:22 -05:00
Charlie Marsh
e4fad70a57
Update documentation to match latest terminology ( #1760 )
...
Closes #1759 .
2023-01-09 21:10:47 -05:00
Charlie Marsh
9532f342a6
Enable project-specific typing module re-exports ( #1754 )
...
Resolves #1744 .
2023-01-09 18:17:50 -05:00
Charlie Marsh
2cb59b0f45
Use dedicated warnings for flake8-to-ruff ( #1748 )
2023-01-09 12:48:06 -05:00
Charlie Marsh
2729f3d207
Add support for defining extra builtins ( #1747 )
...
Resolves #1745 .
2023-01-09 12:24:28 -05:00
Charlie Marsh
caf6c65de7
Bump version to 0.0.216
2023-01-09 01:14:28 -05:00
Charlie Marsh
09dc3c7225
Rename Check to Diagnostic ( #1725 )
...
Along with:
- `CheckKind` -> `DiagnosticKind`
- `CheckCode` -> `RuleCode`
- `CheckCodePrefix` -> `RuleCodePrefix`
2023-01-08 17:46:20 -05:00
Charlie Marsh
0152814a00
Bump version to 0.0.215
2023-01-07 22:17:29 -05:00
Charlie Marsh
edf46c06d0
Bump version to 0.0.214
2023-01-07 15:34:45 -05:00