Skip to content

Commit 7a8b516

Browse files
committed
fmt and mypy
1 parent 5b7c393 commit 7a8b516

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import gymlib
22

3-
print(gymlib.magic.get_magic_number())
3+
print(gymlib.magic.get_magic_number())

scripts/mypy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/bash
22
# Ignore agents/ because those are all submodules.
3-
mypy --config-file scripts/configs/mypy.ini . --exclude agents/
3+
# Ignore gymlib_package/build/ to avoid the error of mypy finding two gymlib packages.
4+
mypy --config-file scripts/configs/mypy.ini . --exclude agents/ --exclude gymlib_package/build/

0 commit comments

Comments
 (0)