dev: Add autoflake to remove unused imports automatically

This commit is contained in:
Felix Uhl committed 2024-10-29 23:42:25 +01:00
1 parent 88a85411ba
commit ed506048a4
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -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
View File
@@ -1,2 +1,6 @@
[tool.mypy]
strict = true
strict = true
[tool.autoflake]
remove_all_unused_imports = true
in_place = true