mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
dev: Add autoflake to remove unused imports automatically
This commit is contained in:
1 parent
88a85411ba
commit
ed506048a4
2 files changed
+6
-1
No files matched your search
@@ -84,6 +84,7 @@
|
||||
ps.black # Code formatter
|
||||
ps.isort # Import sorter
|
||||
ps.mypy # Static type checker
|
||||
ps.autoflake # Remove unused imports automatically
|
||||
]))
|
||||
];
|
||||
};
|
||||
|
||||
+5
-1
@@ -1,2 +1,6 @@
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
strict = true
|
||||
|
||||
[tool.autoflake]
|
||||
remove_all_unused_imports = true
|
||||
in_place = true
|
||||
Reference in new issue
Block a user