Commit Graph

11 Commits

Author SHA1 Message Date
Guillaume Gomez 1f94d55a18 Fix new tests updates 2025-02-15 13:38:42 +01:00
Guillaume Gomez f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
Guillaume Gomez a05d3a4137 Automatic generation of error annotations for ui tests 2023-08-22 17:18:11 +02:00
koka 34c4520eae Fix is_async_fn to check FnKind::Method 2022-11-12 22:36:20 +09:00
koka 2bc04bdac2 fix: cognitive_complexity for async fn 2022-11-11 00:14:18 +09:00
Matthias Krüger 3089c3b307 rustup https://github.com/rust-lang/rust/pull/72342, allow unused_crate_dependencies 2020-05-27 13:57:48 +02:00
Krishna Veera Reddy 91a491e68e Reduce cognitive complexity lint span
Currently the cognitive complexity lint spans the entire function
body making it really difficult to read and refactor the code in
editors. To fix this we reduce the lint span to the function name.
2019-12-21 18:07:53 -08:00
Matthew Jasper a2477f7759 Remove use of the HIR CFG 2019-09-08 16:27:54 +01:00
flip1995 e1d573c242 Rustup to rust-lang/rust#62672
try macro is deprecated now, so Clippy will drop the support for it also
2019-08-15 10:14:06 +02:00
uHOOCCOOHu 5265ab8723 Fix tests for edition 2018 compatibility 2019-07-23 03:59:09 +08:00
Félix Fischer ddc718087f Renamed: Cyclomatic Complexity -> Cognitive Complexity
* Ran automatic naming update

* Formalized rename of `cyclomatic_complexity` to `cognitive_complexity`
** Added the rename to `lib.rs`
** Added rename test

* Added warning for deprecated key `cyclomatic_complexity_threshold` and tests for it

* Added deprecation status for Clippy's builtin attribute

* Updated tests for new builtin attribute renaming
2019-03-06 10:07:38 -03:00