summaryrefslogtreecommitdiff
path: root/maint/add_warning.py
Commit message (Collapse)AuthorAgeFilesLines
* enable checked_conversions lint.Nick Mathewson2021-10-091-1/+1
|
* Remove some planned items in add_warnings.Nick Mathewson2021-10-091-8/+12
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-2/+2
| | | | | This will cause some pain for now, but now is really the best time to do this kind of thing.
* Move "use_unwrap" lint from some to want listS0AndS02021-08-251-1/+1
| | | | | | | | And convert some `add_or_port` calls to use `SocketAddr` instead of parse + unwrap on strings. > Note, this last change is only for IPv4 addresses, for now, and only > within tests.
* add_warning.py: explain what to do when no args are givenNick Mathewson2021-08-181-0/+4
|
* Add clippy::missing_panics_doc to add_warnings.py.Nick Mathewson2021-08-181-0/+1
|
* Add the "implicit_clone" lint.S0AndS02021-08-171-1/+1
| | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently.
* Use add_warnings.py for clippy::cast_losslessNick Mathewson2021-08-131-0/+1
|
* Add unnecessary_wraps to the big warning list.Nick Mathewson2021-08-061-1/+1
|
* Add clippy warn needless pass by valueYUAN LYU2021-06-211-1/+1
|
* Add clippy warn needless borrowYUAN LYU2021-06-211-1/+1
|
* Note a couple of more desired warnings.Nick Mathewson2021-06-171-0/+2
|
* Add noop_method_call warning.Nick Mathewson2021-05-271-0/+1
| | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone.
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-1/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-1/+6
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* Add the little script I use to add warnings to crates.Nick Mathewson2021-05-181-0/+100