Commit Graph

38 Commits

Author SHA1 Message Date
KaDiWa ef2596155d update some dependencies 2023-01-31 23:31:12 +01:00
Alex Macleod bd8369089c Track clippy.toml and Cargo.toml in file_depinfo
Causes cargo to re-run clippy when those paths are modified

Also tracks the path to `clippy-driver` in debug mode to remove the
workarounds in `cargo dev lint` and `lintcheck`
2022-10-25 11:32:49 +00:00
Serial 2bd1581bbf Add dev deprecate 2022-06-21 13:43:47 -04:00
Marcel Hellwig 9b55ea78c8 update dependencies 2022-05-23 09:28:49 +02:00
flip1995 3b0c78d283 Merge remote-tracking branch 'upstream/master' into rustup 2022-05-05 13:32:06 +01:00
bors 32fe4762bf Auto merge of #8625 - Jarcho:rename_lint, r=xFrednet
Add `cargo dev rename_lint`

fixes #7799

changelog: None
2022-04-30 17:22:34 +00:00
Jason Newcomb b3de32ba3c Add rename_lint command 2022-04-24 09:15:26 -04:00
flip1995 da26623d54 Update Cargo.lock 2022-04-08 10:41:55 +01:00
flip1995 71131351de Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup 2022-04-08 10:06:10 +01:00
bors 01ea6241ae Auto merge of #8607 - Alexendoo:cargo-dev-lint-dir, r=flip1995,giraffate
Allow running `cargo dev lint` on a package directory

Allows you run the local clippy in a specified directory, e.g. allowing

```sh
# Lint a ui-cargo test
cargo dev lint tests/ui-cargo/wildcard_dependencies/fail

# Lint some other project
cargo dev lint ~/my-project
```

The `target` directory is set to a tempdir which isn't ideal for medium/large projects as it would be compiled from scratch. This is to avoid cached clippy messages where you `cargo dev lint dir`, change something in clippy, and run `cargo dev lint dir` again

changelog: Dev: `cargo dev lint` can now be run on a package directory
2022-04-05 09:33:38 +00:00
Jason Newcomb 7025283f3e Remove cargo_metadata dependency from clippy_dev 2022-04-01 23:18:47 -04:00
Jason Newcomb b3f8415032 Remove regex dependency from clippy_dev 2022-04-01 23:18:47 -04:00
Alex Macleod 9a02386fd8 Allow running cargo dev lint on a package directory 2022-03-29 19:03:36 +01:00
pierwill c8d6a55f6a Update itertools
Update to 0.10.1
2022-03-04 11:54:28 -06:00
flip1995 8fea1d94f3 Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup 2021-12-06 12:33:31 +01:00
flip1995 7631fc5d82 Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup 2021-10-21 13:11:36 +02:00
flip1995 23d5457e6d Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
Samuel E. Moelius III 43ed2065cc Update dependencies 2021-09-09 07:47:16 -04:00
Jade 6c2199ea9f rfc3052: Remove authors field from Cargo manifests
Since RFC 3052 soft deprecated the authors field anyway, hiding it from
crates.io, docs.rs, and making Cargo not add it by default, and it is
not generally up to date/useful information, we should remove it from
crates in this repo.
2021-07-29 14:56:05 -07:00
flip1995 ebe52869a3 Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup 2021-07-01 18:17:38 +02:00
flip1995 f2f2a005b4 Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup 2021-03-12 15:30:50 +01:00
flip1995 f64149dd04 Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
flip1995 8b9f4a0d34 Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup 2021-02-11 15:04:38 +01:00
flip1995 ac912be984 Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup 2021-01-30 18:06:34 +01:00
flip1995 fbf2430f02 Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup 2020-10-09 12:45:29 +02:00
Lzu Tao 53880a5bd6 Bump itertools 2020-03-29 12:50:11 +07:00
Lzu Tao 8794e41728 dev: Use bytecount for faster line count 2020-02-06 21:39:15 +07:00
flip1995 d51a80c57e Enable deny-warnings feature everywhere in CI 2019-11-25 17:23:48 +01:00
Shotaro Yamada d2daf8ecf6 Revert "Workaround cargo bug on Windows"
This reverts commit 248251b3b2.
This reverts commit 20b7351439.
2019-10-08 14:21:05 +09:00
Shotaro Yamada 248251b3b2 Use home::cargo_home 2019-10-04 11:11:40 +09:00
Michael Wright 4c771c3478 Add dev fmt subcommand 2019-07-07 15:11:33 +02:00
Lzu Tao 352f183429 Bump clap in clippy_dev 2019-06-03 09:36:23 +07:00
Matthias Krüger 873fe11ca5 dependencies: update itertools from 0.7 to 0.8 2019-01-25 20:25:14 +01:00
Philipp Hansch 7da97a94df Use WalkDir to also gather from subdirectories
`fs::read_dir` does not recurse into subdirectories.
2018-10-15 20:44:22 +02:00
Matthias Krüger 91f7e22edf remove cargo edition 2018 feature gate.
Rust and the cargo used to bootstrap was updated in https://github.com/rust-lang/rust/pull/54601 which now has the 2018 edition stabilized.
2018-09-30 11:12:24 +02:00
Matthias Krüger f2ecee3638 clippy_dev: port to edition 2018 2018-09-23 14:44:06 +02:00
Philipp Hansch 586ef4ed72 Refactor to use into_group_map from Itertools 2018-09-03 22:18:53 +02:00
Philipp Hansch 35f100b4f9 update_lints rewrite: Add structure and --print-only 2018-09-03 22:18:51 +02:00