mirror of
https://github.com/ycd/manage-fastapi.git
synced 2021-11-08 01:34:39 +03:00
🐛 Remove setup.cfg when pre-commit is not enabled
This commit is contained in:
@@ -30,7 +30,7 @@ def set_packaging():
|
|||||||
def set_pre_commit():
|
def set_pre_commit():
|
||||||
pre_commit: bool = eval("{{ cookiecutter.pre_commit }}")
|
pre_commit: bool = eval("{{ cookiecutter.pre_commit }}")
|
||||||
if pre_commit is False:
|
if pre_commit is False:
|
||||||
remove_paths([".pre-commit-config.yaml"])
|
remove_paths([".pre-commit-config.yaml", ["setup.cfg"]])
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user