Skip to content

Commit c1ed611

Browse files
committed
fmt and mypy now ignore agents
1 parent 8ebbc24 commit c1ed611

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

scripts/check_format.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
set -euxo pipefail
33

4-
black . --check
5-
isort . --profile black -c
4+
# Ignore agents/ because those are all submodules.
5+
black . --check --exclude agents
6+
isort . --profile black -c --skip agents

scripts/format.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -euxo pipefail
2+
set -euo pipefail
33

4-
black .
5-
isort . --profile black
4+
# Ignore agents/ because those are all submodules.
5+
black . --exclude agents
6+
isort . --profile black --skip agents

scripts/mypy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
mypy --config-file scripts/configs/mypy.ini .
2+
# Ignore agents/ because those are all submodules.
3+
mypy --config-file scripts/configs/mypy.ini . --exclude agents/

0 commit comments

Comments
 (0)