mirror of
https://github.com/camel-ai/owl.git
synced 2026-03-22 05:57:17 +08:00
pre-commit fix and update config to ignore community use case
This commit is contained in:
@@ -92,6 +92,9 @@ def update_license_in_directory(
|
||||
continue
|
||||
if any(part.startswith(".") for part in py_files.parts):
|
||||
continue
|
||||
# Skip files in the community_usecase directory
|
||||
if "community_usecase" in py_files.parts:
|
||||
continue
|
||||
if update_license_in_file(
|
||||
py_files,
|
||||
license_template_path,
|
||||
|
||||
Reference in New Issue
Block a user