about summary refs log tree commit diff
path: root/src/tools/tidy/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2020-03-12tidy: Use cargo_metadata for license checks.Eric Huss-2/+1
2019-06-23Use walkdir crateMark Rousskov-0/+1
It's more efficient than the fs::read_dir API
2019-06-23Cache Regex'sMark Rousskov-0/+1
2019-05-09remove unneeded `extern crate`s from build toolsAndy Russell-2/+1
2019-05-03Migrate tidy to rust 2018 editionAlexey Shmalko-0/+1
2019-05-02Make find_attr_val a little bit more preciseAlexey Shmalko-0/+1
`find_attr_val(&line, "since")` returns `Some(", issue = ")` when `line` is set to the following line: ``` [unstable(feature = "checked_duration_since", issue = "58402")] ``` Make `find_attr_val` use regex that is a little bit more precise (requires `=` after key name). It still does not handle all cases (e.g., extra leading chars in key name, or escaped quotes in value), but is good enough for now.
2018-03-05Start adding a whitelist for rustc dependenciesMark Mansi-0/+5
2017-04-18Add top level sections to the Unstable Book.Corey Farwell-3/+0
Prior to this commit, the contents of the Unstable Book were assumed to be unstable features. This commit moves features into 'language features' or 'library features' subsections. It also moves the 'linker_flavor' compiler flag into a new 'Compiler Flags' subsection. Even though it was helpful, I removed the tidy check that cross-references the SUMMARY.md links with the Unstable Book directory contents just because it would be difficult to maintain. Relevant PR: https://github.com/rust-lang/rust/issues/41142.
2017-03-31Sync all unstable features with Unstable Book; add tidy lint.Corey Farwell-0/+1
Add a tidy lint that checks for... * Unstable Book sections with no corresponding SUMMARY.md links * unstable features that don't have Unstable Book sections * Unstable Book sections that don't have corresponding unstable features
2016-04-12rustbuild: Migrate tidy checks to RustAlex Crichton-0/+6
This commit rewrites all of the tidy checks we have, namely: * featureck * errorck * tidy * binaries into Rust under a new `tidy` tool inside of the `src/tools` directory. This at the same time deletes all the corresponding Python tidy checks so we can be sure to only have one source of truth for all the tidy checks. cc #31590