forked from hsahovic/poke-env
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making vscode python typechecker happy on strict mode (for src/.../*.…
…py files only) (hsahovic#399) * initial commit * bring flake8 file back * fix project name * remove newline * finished copying core elements of setup.py * organization * not including py.typed yet * taking all changes in src/ from commit 3d88246 * apply isort to entire repo * add isort into infrastructure * fixing line length limit * fixing line length limit * isort * made progress fixing types further * isort * removing pyre-blocking comments * isort * reverting player_network_interface.py changes * apply isort to all python files outside of src * fix CI test * bringing types back to being compatible with python 3.7 * black * tab is 4 spaces * try replacing pyre with pyright * removing lint ignore comments * fixing circular import * add necessary import * fixed unit test * fixing type expression * black, isort * fix unit test * fix unit test * attempt to fix unittest run * fix counter * testing * more testing * fixed unit test * updating unit tests * fix recursion error * fixing recursion * unit test fix * fix unit test * removing ` -> None` * black * removing accidental second method declaration * UNKNOWN is never protected * fix unit test * fix unit test * revert bad change * fix unit test * fixed inconsistent naming * fixed naming error * fix broken status setter * refactor * this part of the unit test doesn't make sense now * removing unit tests that check types * fixed unit test * fixed method * black, isort * updated calls to fixed method * adding types * trying to fix unit test issue * trying to fix unit test * fixing unit test * isort, fixed __deepcopy__ * black, isort * adding in py.typed file * organize * remove numpy dependency * remove unnecessary unit test segment * fixing types * formatting and improving type annotations * getting rid of Any's when possible * fixing unit test * fix type annotations * bring back action space * bringing back NamedTuple usage * fixing types * fixing init.py * fix unit test * fixing init.py * fix unit test * git rid of pyre comments * fixing the rest of pyright's complaints * bring pyright to most recent version * get rid of unused import * removing unnecessary None return annotations * black * changing all can_terastallize into can_tera * moved docstring to correct location * removing unnecessary PlayerType typevar * updating pyright
- Loading branch information
1 parent
258d36d
commit c0fd4ac
Showing
53 changed files
with
995 additions
and
1,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,8 +108,6 @@ venv.bak/ | |
*.code-workspace | ||
.vscode* | ||
|
||
.pyre/* | ||
|
||
# Mac os | ||
*.DS_Store | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from poke_env.data.gen_data import GenData | ||
from poke_env.data.normalize import to_id_str | ||
from poke_env.data.replay_template import _REPLAY_TEMPLATE | ||
from poke_env.data.replay_template import REPLAY_TEMPLATE | ||
|
||
__all__ = [ | ||
"_REPLAY_TEMPLATE", | ||
"REPLAY_TEMPLATE", | ||
"GenData", | ||
"to_id_str", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.