Skip to content

Commit 3a5ed9f

Browse files
committed
Adjust pre-commit configuration
1 parent a4cddf1 commit 3a5ed9f

File tree

10 files changed

+11
-13
lines changed

10 files changed

+11
-13
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ repos:
33
rev: v5.0.0
44
hooks:
55
- id: trailing-whitespace
6+
exclude: '\.patch$'
67
- id: end-of-file-fixer
8+
exclude: '\.patch$'
79
- id: check-yaml
810
- id: check-added-large-files
911
- id: check-merge-conflict

beeai/Makefile.tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ check-agents-in-container:
2020
$(CONTAINER_ENGINE) run --rm -it -v $(CURDIR):/src:z --env TEST_TARGET $(TEST_IMAGE) make -f Makefile.tests check-agents
2121
check-mcp-server-in-container:
2222
$(CONTAINER_ENGINE) run --rm -it -v $(CURDIR):/src:z --env TEST_TARGET $(TEST_IMAGE) make -f Makefile.tests check-mcp-server
23-
check-in-container: check-agents-in-container check-mcp-server-in-container
23+
check-in-container: check-agents-in-container check-mcp-server-in-container

beeai/agents/tools/wicked_git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def _run(
3737
if not tool_input_path.exists():
3838
return StringToolOutput(result=f"ERROR: provided path does not exist: {tool_input_path}")
3939
if not (tool_input_path / ".git").exists():
40-
# let's create it and initialize it
40+
# let's create it and initialize it
4141
cmd = ["git", "init"]
4242
exit_code, _, stderr = await run_subprocess(cmd, cwd=tool_input_path)
4343
if exit_code != 0:

beeai/openshift/imagestream-mcp-atlassian.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ spec:
1414
lookupPolicy:
1515
# allows all resources pointing to this image stream to use it in the image field
1616
local: true
17-

beeai/openshift/imagestream-valkey.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ spec:
1414
lookupPolicy:
1515
# allows all resources pointing to this image stream to use it in the image field
1616
local: true
17-

goose-recipes/test-package.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ prompt: |
3939
4. Repeat steps 2 and 3 until the test is finished or failed.
4040
5. It's very important to keep looping until the test has finished running. Don't give up!
4141
6. Read back the results to me.
42-

scripts/find-package-dependents.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def generate_direct_dependents(
607607
dependents_list: List[str] = []
608608
is_partial = False
609609
count = 0
610-
610+
611611
for line in stdout_content.splitlines():
612612
if max_results is not None and count > max_results:
613613
is_partial = True
@@ -619,7 +619,7 @@ def generate_direct_dependents(
619619
dependents_found += 1
620620
dependents_list.append(dependent_name)
621621
logging.debug(f"\n Found dependent: {dependent_name}")
622-
622+
623623
if max_results is None or count <= max_results:
624624
dependency_cache.set(package_name, dependents_list, partial=True)
625625
yield dependent_name
@@ -832,7 +832,7 @@ def compute_transitive_closure(
832832

833833
# The root package gets all results but itself as dependents
834834
max_root_dependents = max_results - 1 if max_results is not None else None
835-
835+
836836
for package, entry in dependents_map.items():
837837
known_packages: Set[str] = set()
838838
transitive_dependents: List[str] = []
@@ -843,7 +843,7 @@ def compute_transitive_closure(
843843
# (But we still need to extend the queue for the remaining of the loop to know if we're missing out
844844
# on any results because of the max_results limit)
845845
root_hit_max_dependents = False
846-
846+
847847
while queue:
848848
dependent = queue.popleft()
849849

@@ -870,7 +870,7 @@ def compute_transitive_closure(
870870
is_partial = True
871871

872872
queue.extend(dependent_entry["dependents"])
873-
873+
874874
if root_hit_max_dependents:
875875
# At this point the queue accurately reflects what work is left to do
876876
# so we can use it to know if the results are complete for the root package

scripts/git-add-patch-non-interactive

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,4 +890,3 @@ Commands:
890890

891891
if __name__ == "__main__":
892892
main()
893-

testing-farm-sse-bridge/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ run-container:
3434
run-container-debug:
3535
podman run --rm -it -p 10000:10000 \
3636
--env-file ../.secrets/testing-farm-sse-bridge.env \
37-
testing-farm-sse-bridge:debug
37+
testing-farm-sse-bridge:debug
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.0"
1+
__version__ = "0.1.0"

0 commit comments

Comments
 (0)