mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-24 20:34:31 +00:00
Modify visibility and shuffle around some modules (#1807)
This commit is contained in:
parent
d8162ce79d
commit
b36d4a15b0
144 changed files with 734 additions and 798 deletions
|
@ -34,7 +34,7 @@ def main(*, plugin: str, url: str) -> None:
|
|||
with open(os.path.join(ROOT_DIR, f"src/{dir_name(plugin)}/rules.rs"), "w+") as fp:
|
||||
fp.write("use crate::checkers::ast::Checker;\n")
|
||||
with open(os.path.join(ROOT_DIR, f"src/{dir_name(plugin)}/mod.rs"), "w+") as fp:
|
||||
fp.write("pub mod rules;\n")
|
||||
fp.write("pub(crate) mod rules;\n")
|
||||
fp.write("\n")
|
||||
fp.write(
|
||||
"""#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue