fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1# Configuration for ruff python linter, run as part of tidy external tools 2 3# B (bugbear), E (pycodestyle, standard), EXE (executables) F (flakes, standard) 4# ERM for error messages would be beneficial at some point 5select = ["B", "E", "EXE", "F"] 6 7ignore = [ 8 "E501", # line-too-long 9 "F403", # undefined-local-with-import-star 10 "F405", # undefined-local-with-import-star-usage 11] 12 13# lowest possible for ruff 14target-version = "py37" 15 16# Ignore all submodules 17extend-exclude = [ 18 "src/doc/nomicon/", 19 "src/tools/cargo/", 20 "src/doc/reference/", 21 "src/doc/book/", 22 "src/doc/rust-by-example/", 23 "library/stdarch/", 24 "src/doc/rustc-dev-guide/", 25 "src/doc/edition-guide/", 26 "src/llvm-project/", 27 "src/doc/embedded-book/", 28 "library/backtrace/", 29 # Hack: CI runs from a subdirectory under the main checkout 30 "../src/doc/nomicon/", 31 "../src/tools/cargo/", 32 "../src/doc/reference/", 33 "../src/doc/book/", 34 "../src/doc/rust-by-example/", 35 "../library/stdarch/", 36 "../src/doc/rustc-dev-guide/", 37 "../src/doc/edition-guide/", 38 "../src/llvm-project/", 39 "../src/doc/embedded-book/", 40 "../library/backtrace/", 41]