diff --git a/.efrocachemap b/.efrocachemap index 001e8a0b..33047f4b 100644 --- a/.efrocachemap +++ b/.efrocachemap @@ -4072,59 +4072,59 @@ "build/assets/workspace/ninjafightplug.py": "https://files.ballistica.net/cache/ba1/c5/09/4f10b8a21ba87aa5509cff7a164b", "build/assets/workspace/onslaughtplug.py": "https://files.ballistica.net/cache/ba1/ff/0a/a354984f9c074dab0676ac7e4877", "build/assets/workspace/runaroundplug.py": "https://files.ballistica.net/cache/ba1/2a/1c/9ee5db6d1bceca7fa6638fb8abde", - "build/prefab/full/linux_arm64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/92/d6/8b9b0174f330403a1492d86e8ce7", - "build/prefab/full/linux_arm64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/68/04/adfed8795d54d5e80225633280b3", - "build/prefab/full/linux_arm64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/0b/a0/2e0afcf862d672656665a386f2a9", - "build/prefab/full/linux_arm64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/e4/2b/2478e2df5600a96420b7ff13e646", - "build/prefab/full/linux_x86_64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/14/8c/571c150fb462a3007fd71e570609", - "build/prefab/full/linux_x86_64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/4d/40/0480d0b96ccfe4bbf9ac2f1f0bb6", - "build/prefab/full/linux_x86_64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/ee/e2/f1c326ba4d3402dee41099bf5786", - "build/prefab/full/linux_x86_64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/ca/af/93535e4b26ccea865395a588a0ac", - "build/prefab/full/mac_arm64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/86/b4/2a624ce6d32ab560c40f2cb26f65", - "build/prefab/full/mac_arm64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/59/2b/8ed0eb28b6b5ed2bd2fa9df5698e", - "build/prefab/full/mac_arm64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/e5/de/0447c8cebf7ec44b68947ceb7d6d", - "build/prefab/full/mac_arm64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/7a/e7/0f85bdc26546381f5b734bc850da", - "build/prefab/full/mac_x86_64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/e1/bf/957c7cf11b149371dc0085224997", - "build/prefab/full/mac_x86_64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/35/bf/1e6cb8ea522f4b072b2d5752d78c", - "build/prefab/full/mac_x86_64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/e2/ff/0694d47a8be8491af2692fd6c579", - "build/prefab/full/mac_x86_64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/1f/cf/f14fed33a40fb5c80efe0e7a05da", - "build/prefab/full/windows_x86_gui/debug/BallisticaKit.exe": "https://files.ballistica.net/cache/ba1/4e/29/0b4728807c244c259dc180264f96", - "build/prefab/full/windows_x86_gui/release/BallisticaKit.exe": "https://files.ballistica.net/cache/ba1/52/9c/467b2b2db925a2951dd6a57c2c5d", - "build/prefab/full/windows_x86_server/debug/dist/BallisticaKitHeadless.exe": "https://files.ballistica.net/cache/ba1/58/a4/42d447c318530c3ff4aca968fed7", - "build/prefab/full/windows_x86_server/release/dist/BallisticaKitHeadless.exe": "https://files.ballistica.net/cache/ba1/47/83/c61f4219e24dd8e8d22fe692e3ad", - "build/prefab/lib/linux_arm64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/08/f1/36613a6c3ca87c93b4fbbe0de451", - "build/prefab/lib/linux_arm64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/08/67/849330893eeb104e5a4dd44db54d", - "build/prefab/lib/linux_arm64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/d4/63/436f0f9b3c22d669bbd6262dee66", - "build/prefab/lib/linux_arm64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/d5/44/3ed0e031bd6c69146992c205dc63", - "build/prefab/lib/linux_x86_64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/dd/33/acb639ccf6bde9a5f5d7dae26d6d", - "build/prefab/lib/linux_x86_64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/11/99/c4ef35cc03c49dea52754fcbf5ea", - "build/prefab/lib/linux_x86_64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/73/22/6a60aec57ed125d029a0142a6b51", - "build/prefab/lib/linux_x86_64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/55/7d/d1640e390c3c7c2ecf489e02b5d6", - "build/prefab/lib/mac_arm64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/ba/ae/cc4da45850521ff4220d3d1bb4cf", - "build/prefab/lib/mac_arm64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/f1/3b/30dd20fd1a7c5394297957e4788c", - "build/prefab/lib/mac_arm64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/2f/be/a883f9521e792865a06fd8a1b851", - "build/prefab/lib/mac_arm64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/fd/da/6ac5ed28aac4435cbce3c4cf812e", - "build/prefab/lib/mac_x86_64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/42/4c/3477fb7ec067e90334719f5e487c", - "build/prefab/lib/mac_x86_64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/0d/da/cf2b3140c0c83b3e368623f1d705", - "build/prefab/lib/mac_x86_64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/94/6c/3489c9df42324ad7f089d6271c4b", - "build/prefab/lib/mac_x86_64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/a6/0b/3ae5a82111a12bb75cd62252c2cc", - "build/prefab/lib/windows/Debug_Win32/BallisticaKitGenericPlus.lib": "https://files.ballistica.net/cache/ba1/58/10/c29dc50003d226e02f04764acf01", - "build/prefab/lib/windows/Debug_Win32/BallisticaKitGenericPlus.pdb": "https://files.ballistica.net/cache/ba1/0e/28/7676c4b9ea9c43467f1660e7431c", - "build/prefab/lib/windows/Debug_Win32/BallisticaKitHeadlessPlus.lib": "https://files.ballistica.net/cache/ba1/64/b4/5b70c9ba7ecf41805ac400721c5c", - "build/prefab/lib/windows/Debug_Win32/BallisticaKitHeadlessPlus.pdb": "https://files.ballistica.net/cache/ba1/d8/e3/230e93e150089502afa370434790", - "build/prefab/lib/windows/Release_Win32/BallisticaKitGenericPlus.lib": "https://files.ballistica.net/cache/ba1/b7/25/b43996e6452d168da541a65bab4e", - "build/prefab/lib/windows/Release_Win32/BallisticaKitGenericPlus.pdb": "https://files.ballistica.net/cache/ba1/51/ab/25659337356047798db5e109bcc7", - "build/prefab/lib/windows/Release_Win32/BallisticaKitHeadlessPlus.lib": "https://files.ballistica.net/cache/ba1/02/e9/e09bdafd934af50ea70737427200", - "build/prefab/lib/windows/Release_Win32/BallisticaKitHeadlessPlus.pdb": "https://files.ballistica.net/cache/ba1/4d/26/70793e7924cd80c0c06349de0f07", + "build/prefab/full/linux_arm64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/a2/ec/f02253df12dbec4c9be0de721a68", + "build/prefab/full/linux_arm64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/34/21/9bdc0614417141c34188a2274fab", + "build/prefab/full/linux_arm64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/67/e9/e9f68cf12d609a1a1e05dc2f5f32", + "build/prefab/full/linux_arm64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/8c/90/c01a18b0bb8afc9880866f4be1d3", + "build/prefab/full/linux_x86_64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/b2/bb/40fc02afa45895359a0edecddee5", + "build/prefab/full/linux_x86_64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/58/55/8451262689d989ea20afb41de14c", + "build/prefab/full/linux_x86_64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/4f/52/dce0af89103a5a03d1bb5782e7d0", + "build/prefab/full/linux_x86_64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/78/64/c34c3f8fb8bce1e08da4438b3350", + "build/prefab/full/mac_arm64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/54/71/675c8ca94c655d9c1518e95fcf29", + "build/prefab/full/mac_arm64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/14/fb/35f54fb4b97377263f6305bd45c1", + "build/prefab/full/mac_arm64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/11/bd/9140d3716853388db6b964b48b10", + "build/prefab/full/mac_arm64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/7b/7b/b41669c7b97755276ab1cbdcb92f", + "build/prefab/full/mac_x86_64_gui/debug/ballisticakit": "https://files.ballistica.net/cache/ba1/02/6c/a150463c7081403d91f1fed02172", + "build/prefab/full/mac_x86_64_gui/release/ballisticakit": "https://files.ballistica.net/cache/ba1/f2/7b/7efa84c6410a671cf97586614669", + "build/prefab/full/mac_x86_64_server/debug/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/a9/16/099f8d7333f08ac27d6c6c9bbf34", + "build/prefab/full/mac_x86_64_server/release/dist/ballisticakit_headless": "https://files.ballistica.net/cache/ba1/f6/6e/657e14ff3c06d29ad2541647b191", + "build/prefab/full/windows_x86_gui/debug/BallisticaKit.exe": "https://files.ballistica.net/cache/ba1/41/4a/c79a3b9c4088a843c89450526ed2", + "build/prefab/full/windows_x86_gui/release/BallisticaKit.exe": "https://files.ballistica.net/cache/ba1/ae/f2/66c4eacac9556e27152ce7887848", + "build/prefab/full/windows_x86_server/debug/dist/BallisticaKitHeadless.exe": "https://files.ballistica.net/cache/ba1/99/d0/e59aeff459d771250752c1c9e855", + "build/prefab/full/windows_x86_server/release/dist/BallisticaKitHeadless.exe": "https://files.ballistica.net/cache/ba1/37/ef/77009c474fbf78a623e536080f44", + "build/prefab/lib/linux_arm64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/fd/89/44e2ebc1017c94053d3df1f6cb8a", + "build/prefab/lib/linux_arm64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/38/d7/7110069365b22bee424f36e1bf5a", + "build/prefab/lib/linux_arm64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/6c/89/1c44605fe89b5faa9b1061455838", + "build/prefab/lib/linux_arm64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/89/84/f4afc7b4745ae09c4efd2d731cd7", + "build/prefab/lib/linux_x86_64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/c4/ca/312ba216df4da1b1b29ab4041d5a", + "build/prefab/lib/linux_x86_64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/8c/c8/c63b5b98b5d0f11b6c689ea8b420", + "build/prefab/lib/linux_x86_64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/b8/65/829c1106c7ff29cf8db20ba18e5b", + "build/prefab/lib/linux_x86_64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/21/0a/7c956a1d57f6542d002ac35a3922", + "build/prefab/lib/mac_arm64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/90/2f/867b10179bca834b1a39f9ad5041", + "build/prefab/lib/mac_arm64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/31/a6/ce57836fc8360de5eff69814727e", + "build/prefab/lib/mac_arm64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/b0/ea/d546833a8a31a09232cc15ea6f41", + "build/prefab/lib/mac_arm64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/67/0f/caff9022fb2248407b53d6176479", + "build/prefab/lib/mac_x86_64_gui/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/13/b9/362c96cee1b930ea451195ba8a2c", + "build/prefab/lib/mac_x86_64_gui/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/58/12/59092d28e6e8e1923dfff8d7e5de", + "build/prefab/lib/mac_x86_64_server/debug/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/2e/a0/a2a78934c1193505f3d62989a152", + "build/prefab/lib/mac_x86_64_server/release/libballistica_plus.a": "https://files.ballistica.net/cache/ba1/67/56/ea651dddf9502c0513f29fb1a8c0", + "build/prefab/lib/windows/Debug_Win32/BallisticaKitGenericPlus.lib": "https://files.ballistica.net/cache/ba1/95/7e/139ec220b17cf9827c6dd053c76f", + "build/prefab/lib/windows/Debug_Win32/BallisticaKitGenericPlus.pdb": "https://files.ballistica.net/cache/ba1/aa/f0/f56766303adbece7d41c1030d5bb", + "build/prefab/lib/windows/Debug_Win32/BallisticaKitHeadlessPlus.lib": "https://files.ballistica.net/cache/ba1/7f/ba/fb8b95c87fa0d17eecdf269b1619", + "build/prefab/lib/windows/Debug_Win32/BallisticaKitHeadlessPlus.pdb": "https://files.ballistica.net/cache/ba1/57/db/224bab05c00ed4622ddf13a9ced8", + "build/prefab/lib/windows/Release_Win32/BallisticaKitGenericPlus.lib": "https://files.ballistica.net/cache/ba1/d7/aa/30442818769575691a26829cbec0", + "build/prefab/lib/windows/Release_Win32/BallisticaKitGenericPlus.pdb": "https://files.ballistica.net/cache/ba1/03/b3/6fbc53e7ff5e851a6bf6bd30195e", + "build/prefab/lib/windows/Release_Win32/BallisticaKitHeadlessPlus.lib": "https://files.ballistica.net/cache/ba1/d2/63/25c130fc9f80fa2ac66f6441bfcb", + "build/prefab/lib/windows/Release_Win32/BallisticaKitHeadlessPlus.pdb": "https://files.ballistica.net/cache/ba1/ec/f9/9d7a013c7558c6d57af467099329", "src/assets/ba_data/python/babase/_mgen/__init__.py": "https://files.ballistica.net/cache/ba1/52/c6/c11130af7b10d6c0321add5518fa", "src/assets/ba_data/python/babase/_mgen/enums.py": "https://files.ballistica.net/cache/ba1/38/c3/1dedd5e74f2508efc5974c8815a1", - "src/ballistica/base/mgen/pyembed/binding_base.inc": "https://files.ballistica.net/cache/ba1/fe/d2/3be7462aaff43bd651b5b5ac9d04", - "src/ballistica/base/mgen/pyembed/binding_base_app.inc": "https://files.ballistica.net/cache/ba1/ba/0a/f528c175ef4cea9d50431cd768a8", - "src/ballistica/classic/mgen/pyembed/binding_classic.inc": "https://files.ballistica.net/cache/ba1/b2/fd/f5c362e9093b2d0721fb59fc0056", - "src/ballistica/core/mgen/pyembed/binding_core.inc": "https://files.ballistica.net/cache/ba1/09/2b/17a249d6cfcb9a3774413f6e9156", + "src/ballistica/base/mgen/pyembed/binding_base.inc": "https://files.ballistica.net/cache/ba1/ea/6a/6a4721b144e5e297b542d2a0eea2", + "src/ballistica/base/mgen/pyembed/binding_base_app.inc": "https://files.ballistica.net/cache/ba1/7b/ae/1381e9d387c6db2be678d67b2411", + "src/ballistica/classic/mgen/pyembed/binding_classic.inc": "https://files.ballistica.net/cache/ba1/0d/39/ccdb4c9301303b07e343a77a5984", + "src/ballistica/core/mgen/pyembed/binding_core.inc": "https://files.ballistica.net/cache/ba1/a3/28/3c8e52c24791f407bde0ae816ee3", "src/ballistica/core/mgen/pyembed/env.inc": "https://files.ballistica.net/cache/ba1/49/37/a092e0e385093479c14d47c86b27", "src/ballistica/core/mgen/python_modules_monolithic.h": "https://files.ballistica.net/cache/ba1/e4/87/ca448e63b14d8c292e2c32c35d5d", - "src/ballistica/scene_v1/mgen/pyembed/binding_scene_v1.inc": "https://files.ballistica.net/cache/ba1/4d/d5/a6e9feabfdf60ac6d78ee7983427", - "src/ballistica/template_fs/mgen/pyembed/binding_template_fs.inc": "https://files.ballistica.net/cache/ba1/fe/97/a8e045105bf910b8921daf3fad83", - "src/ballistica/ui_v1/mgen/pyembed/binding_ui_v1.inc": "https://files.ballistica.net/cache/ba1/34/6e/c3155ff20eee58803326d53f96f5" + "src/ballistica/scene_v1/mgen/pyembed/binding_scene_v1.inc": "https://files.ballistica.net/cache/ba1/80/5a/84e477f205d578d216425b1aa326", + "src/ballistica/template_fs/mgen/pyembed/binding_template_fs.inc": "https://files.ballistica.net/cache/ba1/ae/db/838f3534055b1932262c16c62c22", + "src/ballistica/ui_v1/mgen/pyembed/binding_ui_v1.inc": "https://files.ballistica.net/cache/ba1/c8/68/5c449565da6dcb2d65b5b4b0bd7c" } \ No newline at end of file diff --git a/Makefile b/Makefile index 6cac8f48..216abd31 100644 --- a/Makefile +++ b/Makefile @@ -741,32 +741,26 @@ format-makefile: prereqs # Run all project checks. (static analysis) check: py_check_prereqs -# TEMP - disabling some checks during 1.7.20 refactor. - @$(DMAKE) -j$(CPUS) update-check cpplint mypy + @$(DMAKE) -j$(CPUS) update-check cpplint pylint mypy @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! -# @$(DMAKE) -j$(CPUS) update-check cpplint pylint mypy -# @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! # Same as check but no caching (all files are checked). check-full: py_check_prereqs -# TEMP - disabling some checks during 1.7.20 refactor. - @$(DMAKE) -j$(CPUS) update-check cpplint-full mypy-full + @$(DMAKE) -j$(CPUS) update-check cpplint-full pylint-full mypy-full @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! -# @$(DMAKE) -j$(CPUS) update-check cpplint-full pylint-full mypy-full -# @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! # Same as 'check' plus optional/slow extra checks. check2: py_check_prereqs # TEMP - disabling some during 1.7.20 refactor. - @$(DMAKE) -j$(CPUS) update-check cpplint mypy + @$(DMAKE) -j$(CPUS) update-check cpplint pylint mypy @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! -# @$(DMAKE) -j$(CPUS) update-check cpplint pylint mypy pycharm depcheck +# @$(DMAKE) -j$(CPUS) update-check cpplint pylint mypy pycharm # @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! # Same as check2 but no caching (all files are checked). # TEMP - disabling some checks during 1.7.20 refactor. check2-full: py_check_prereqs - @$(DMAKE) -j$(CPUS) update-check cpplint-full mypy-full + @$(DMAKE) -j$(CPUS) update-check cpplint-full pylint-full mypy-full @tools/pcommand echo SGRN BLD ALL CHECKS PASSED! # @$(DMAKE) -j$(CPUS) update-check cpplint-full pylint-full mypy-full \ # pycharm-full @@ -812,11 +806,6 @@ pycharm: py_check_prereqs pycharm-full: py_check_prereqs @tools/pcommand pycharm -full -# Run extra mypy checks with various dependency permutations. -# ensures packages don't depend on thing they're not supposed to. -depchecks: py_check_prereqs - @tools/pcommand depchecks - # Build prerequisites needed for python checks. # # IMPORTANT - this target may kick off new meta/asset/binary builds/cleans as @@ -891,34 +880,24 @@ test-rpc: # Format, update, check, & test the project. Do this before commits. preflight: -# TEMP - disabling some checks during the 1.7.20 refactor @$(MAKE) format @$(MAKE) update - @$(MAKE) -j$(CPUS) cpplint mypy test + @$(MAKE) -j$(CPUS) cpplint pylint mypy test @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! -# @$(MAKE) format -# @$(MAKE) update -# @$(MAKE) -j$(CPUS) cpplint pylint mypy test -# @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! # Same as 'preflight' without caching (all files are visited). preflight-full: -# TEMP - disabling some checks during the 1.7.20 refactor @$(MAKE) format-full @$(MAKE) update - @$(MAKE) -j$(CPUS) cpplint-full mypy-full test-full + @$(MAKE) -j$(CPUS) cpplint-full pylint-full mypy-full test-full @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! -# @$(MAKE) format-full -# @$(MAKE) update -# @$(MAKE) -j$(CPUS) cpplint-full pylint-full mypy-full test-full -# @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! # Same as 'preflight' plus optional/slow extra checks. preflight2: # TEMP - disabling some checks during the 1.7.20 refactor @$(MAKE) format @$(MAKE) update - @$(MAKE) -j$(CPUS) cpplint mypy test + @$(MAKE) -j$(CPUS) cpplint pylint mypy test @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! # @$(MAKE) format # @$(MAKE) update @@ -930,7 +909,7 @@ preflight2-full: # TEMP - disabling some checks during the 1.7.20 refactor @$(MAKE) format-full @$(MAKE) update - @$(MAKE) -j$(CPUS) cpplint-full mypy-full test-full + @$(MAKE) -j$(CPUS) cpplint-full pylint-full mypy-full test-full @tools/pcommand echo SGRN BLD PREFLIGHT SUCCESSFUL! # @$(MAKE) format-full # @$(MAKE) update diff --git a/config/featuresets/featureset_classic.py b/config/featuresets/featureset_classic.py index b3399ee6..ff121279 100644 --- a/config/featuresets/featureset_classic.py +++ b/config/featuresets/featureset_classic.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=missing-docstring, invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by the spinoff system, allowing us to define diff --git a/config/featuresets/featureset_scene_v1.py b/config/featuresets/featureset_scene_v1.py index 81f19b18..594a555e 100644 --- a/config/featuresets/featureset_scene_v1.py +++ b/config/featuresets/featureset_scene_v1.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=missing-docstring, invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by the spinoff system, allowing us to define diff --git a/config/featuresets/featureset_scene_v1_lib.py b/config/featuresets/featureset_scene_v1_lib.py index c3621120..f74d682c 100644 --- a/config/featuresets/featureset_scene_v1_lib.py +++ b/config/featuresets/featureset_scene_v1_lib.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=missing-docstring, invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by the spinoff system, allowing us to define diff --git a/config/featuresets/featureset_template_fs.py b/config/featuresets/featureset_template_fs.py index 6ac0496b..2368ea6d 100644 --- a/config/featuresets/featureset_template_fs.py +++ b/config/featuresets/featureset_template_fs.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=missing-docstring, invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by the spinoff system, allowing us to define diff --git a/config/featuresets/featureset_ui_v1_lib.py b/config/featuresets/featureset_ui_v1_lib.py index 38f1be73..3f4f4eb9 100644 --- a/config/featuresets/featureset_ui_v1_lib.py +++ b/config/featuresets/featureset_ui_v1_lib.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=missing-docstring, invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by the spinoff system, allowing us to define diff --git a/config/spinoffconfig.py b/config/spinoffconfig.py index fb2a8a9f..2ac8e38e 100644 --- a/config/spinoffconfig.py +++ b/config/spinoffconfig.py @@ -1,6 +1,6 @@ # Released under the MIT License. See LICENSE for details. # -# pylint: disable=invalid-name +# pylint: disable=missing-module-docstring, invalid-name from __future__ import annotations # This file is exec'ed by tools/spinoff, allowing us to customize diff --git a/src/assets/ba_data/python/babase/_app.py b/src/assets/ba_data/python/babase/_app.py index 5dddb4d4..e60ae10e 100644 --- a/src/assets/ba_data/python/babase/_app.py +++ b/src/assets/ba_data/python/babase/_app.py @@ -632,6 +632,8 @@ class App: """ def app_mode_for_intent(self, intent: AppIntent) -> type[AppMode]: + # pylint: disable=cyclic-import + # __GOOD_PLACE_FOR_CUSTOM_SPINOFF_LOGIC__ # __DEFAULT_APP_MODE_SELECTION_BEGIN__ diff --git a/src/assets/ba_data/python/baclassic/_subsystem.py b/src/assets/ba_data/python/baclassic/_subsystem.py index 28f1d979..b94894d9 100644 --- a/src/assets/ba_data/python/baclassic/_subsystem.py +++ b/src/assets/ba_data/python/baclassic/_subsystem.py @@ -157,7 +157,6 @@ class ClassicSubsystem(AppSubsystem): return self._env['user_agent_string'] def on_app_loading(self) -> None: - # pylint: disable=too-many-locals from bascenev1 import _campaign from bascenev1 import _map from bascenev1lib.actor import spazappearance diff --git a/src/assets/ba_data/python/bascenev1/_gameresults.py b/src/assets/ba_data/python/bascenev1/_gameresults.py index a974449c..5600723f 100644 --- a/src/assets/ba_data/python/bascenev1/_gameresults.py +++ b/src/assets/ba_data/python/bascenev1/_gameresults.py @@ -114,7 +114,6 @@ class GameResults: (properly formatted for the score type.) """ from babase._language import Lstr - from babase._mgen.enums import TimeFormat from babase._text import timestring from bascenev1._score import ScoreType diff --git a/src/assets/ba_data/python/bascenev1/_gameutils.py b/src/assets/ba_data/python/bascenev1/_gameutils.py index 995b1c59..0ab584f5 100644 --- a/src/assets/ba_data/python/bascenev1/_gameutils.py +++ b/src/assets/ba_data/python/bascenev1/_gameutils.py @@ -8,7 +8,7 @@ from dataclasses import dataclass from typing import TYPE_CHECKING, NewType import _babase -from babase._mgen.enums import TimeType, TimeFormat, SpecialChar, UIScale +from babase._mgen.enums import SpecialChar, UIScale from babase._error import ActivityNotFoundError import _bascenev1 @@ -123,7 +123,6 @@ def animate_array( Like bs.animate, but operates on array attributes. """ - # pylint: disable=too-many-locals combine = _bascenev1.newnode('combine', owner=node, attrs={'size': size}) items = list(keys.items()) items.sort() diff --git a/src/assets/ba_data/python/bascenev1/_multiteamsession.py b/src/assets/ba_data/python/bascenev1/_multiteamsession.py index 921c17f7..2da69c7e 100644 --- a/src/assets/ba_data/python/bascenev1/_multiteamsession.py +++ b/src/assets/ba_data/python/bascenev1/_multiteamsession.py @@ -262,7 +262,6 @@ class MultiTeamSession(Session): announcement of the same. """ # pylint: disable=cyclic-import - # pylint: disable=too-many-locals from babase._math import normalized_color from babase._language import Lstr from bascenev1._gameutils import cameraflash diff --git a/src/assets/ba_data/python/bascenev1/_teamgame.py b/src/assets/ba_data/python/bascenev1/_teamgame.py index 76574c33..2754c452 100644 --- a/src/assets/ba_data/python/bascenev1/_teamgame.py +++ b/src/assets/ba_data/python/bascenev1/_teamgame.py @@ -140,7 +140,6 @@ class TeamGameActivity(GameActivity[PlayerT, TeamT]): # pylint: disable=arguments-renamed from bascenev1._coopsession import CoopSession from bascenev1._multiteamsession import MultiTeamSession - from babase._general import Call # Announce win (but only for the first finish() call) # (also don't announce in co-op sessions; we leave that up to them). diff --git a/src/assets/ba_data/python/bascenev1lib/activity/coopscore.py b/src/assets/ba_data/python/bascenev1lib/activity/coopscore.py index 55808f64..bb6a0a88 100644 --- a/src/assets/ba_data/python/bascenev1lib/activity/coopscore.py +++ b/src/assets/ba_data/python/bascenev1lib/activity/coopscore.py @@ -1427,7 +1427,6 @@ class CoopScoreScreen(bs.Activity[bs.Player, bs.Team]): tourney_info = bs.app.classic.accounts.tournament_info[ tournament_id ] - # pylint: disable=unbalanced-tuple-unpacking ( pr1, pv1, @@ -1438,7 +1437,7 @@ class CoopScoreScreen(bs.Activity[bs.Player, bs.Team]): ) = bs.app.classic.get_tournament_prize_strings( tourney_info ) - # pylint: enable=unbalanced-tuple-unpacking + Text( bs.Lstr(resource='coopSelectWindow.prizesText'), position=(-360, -70 + 77), diff --git a/src/assets/ba_data/python/bascenev1lib/actor/bomb.py b/src/assets/ba_data/python/bascenev1lib/actor/bomb.py index 45237574..23d588df 100644 --- a/src/assets/ba_data/python/bascenev1lib/actor/bomb.py +++ b/src/assets/ba_data/python/bascenev1lib/actor/bomb.py @@ -146,8 +146,8 @@ class BombFactory: def __init__(self) -> None: """Instantiate a BombFactory. - You shouldn't need to do this; call bascenev1lib.actor.bomb.get_factory() - to get a shared instance. + You shouldn't need to do this; call + bascenev1lib.actor.bomb.get_factory() to get a shared instance. """ shared = SharedObjects.get() diff --git a/src/assets/ba_data/python/bascenev1lib/actor/onscreencountdown.py b/src/assets/ba_data/python/bascenev1lib/actor/onscreencountdown.py index c196263a..7c1a9042 100644 --- a/src/assets/ba_data/python/bascenev1lib/actor/onscreencountdown.py +++ b/src/assets/ba_data/python/bascenev1lib/actor/onscreencountdown.py @@ -6,7 +6,6 @@ from __future__ import annotations from typing import TYPE_CHECKING -import babase import bascenev1 as bs if TYPE_CHECKING: @@ -86,8 +85,8 @@ class OnScreenCountdown(bs.Actor): self._timeremaining = max(0, self._timeremaining - 1) tval = self._timeremaining - # if there's a countdown sound for this time that we - # haven't played yet, play it + # If there's a countdown sound for this time that we + # haven't played yet, play it. if tval == 10: assert self.node assert isinstance(self.node.scale, float) diff --git a/src/assets/ba_data/python/bauiv1lib/coop/tournamentbutton.py b/src/assets/ba_data/python/bauiv1lib/coop/tournamentbutton.py index ea38c938..473d19df 100644 --- a/src/assets/ba_data/python/bauiv1lib/coop/tournamentbutton.py +++ b/src/assets/ba_data/python/bauiv1lib/coop/tournamentbutton.py @@ -423,8 +423,6 @@ class TournamentButton: ) x_offs = 90 - # This seems to be a false alarm. - # pylint: disable=unbalanced-tuple-unpacking ( pr1, pv1, @@ -433,7 +431,7 @@ class TournamentButton: pr3, pv3, ) = bui.app.classic.get_tournament_prize_strings(entry) - # pylint: enable=unbalanced-tuple-unpacking + enabled = 'requiredLeague' not in entry bui.buttonwidget( edit=self.button, diff --git a/src/assets/ba_data/python/bauiv1lib/gather/privatetab.py b/src/assets/ba_data/python/bauiv1lib/gather/privatetab.py index c96d7db9..e82fd7ee 100644 --- a/src/assets/ba_data/python/bauiv1lib/gather/privatetab.py +++ b/src/assets/ba_data/python/bauiv1lib/gather/privatetab.py @@ -1,5 +1,6 @@ # Released under the MIT License. See LICENSE for details. # +# pylint: disable=too-many-lines """Defines the Private tab in the gather UI.""" from __future__ import annotations diff --git a/src/assets/ba_data/python/bauiv1lib/settings/plugins.py b/src/assets/ba_data/python/bauiv1lib/settings/plugins.py index 9111e358..57bfb982 100644 --- a/src/assets/ba_data/python/bauiv1lib/settings/plugins.py +++ b/src/assets/ba_data/python/bauiv1lib/settings/plugins.py @@ -36,7 +36,6 @@ class PluginWindow(bui.Window): transition: str = 'in_right', origin_widget: bui.Widget | None = None, ): - # pylint: disable=too-many-locals # pylint: disable=too-many-statements app = bui.app diff --git a/src/assets/ba_data/python/bauiv1lib/store/browser.py b/src/assets/ba_data/python/bauiv1lib/store/browser.py index 778077f6..eb7f15ae 100644 --- a/src/assets/ba_data/python/bauiv1lib/store/browser.py +++ b/src/assets/ba_data/python/bauiv1lib/store/browser.py @@ -1386,7 +1386,6 @@ def _check_merch_availability_in_bg_thread() -> None: def _store_in_logic_thread() -> None: cfg = bui.app.config current: str | None = cfg.get(MERCH_LINK_KEY) - # pylint: disable=isinstance-second-argument-not-valid-type if not isinstance(current, str | None): current = None if current != response.url: diff --git a/src/meta/babasemeta/pyembed/binding_base.py b/src/meta/babasemeta/pyembed/binding_base.py index 9ce99ee4..7be7ca04 100644 --- a/src/meta/babasemeta/pyembed/binding_base.py +++ b/src/meta/babasemeta/pyembed/binding_base.py @@ -1,8 +1,7 @@ # Released under the MIT License. See LICENSE for details. # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring, line-too-long +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations # noinspection PyProtectedMember @@ -18,7 +17,6 @@ from babase import ( _general, ) - # The C++ layer looks for this variable: values = [ _hooks.reset_to_main_menu, # kResetToMainMenuCall diff --git a/src/meta/babasemeta/pyembed/binding_base_app.py b/src/meta/babasemeta/pyembed/binding_base_app.py index e872efa8..23cd5c97 100644 --- a/src/meta/babasemeta/pyembed/binding_base_app.py +++ b/src/meta/babasemeta/pyembed/binding_base_app.py @@ -1,8 +1,7 @@ # Released under the MIT License. See LICENSE for details. # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations import babase diff --git a/src/meta/baclassicmeta/pyembed/binding_classic.py b/src/meta/baclassicmeta/pyembed/binding_classic.py index 5a348200..04af0f5b 100644 --- a/src/meta/baclassicmeta/pyembed/binding_classic.py +++ b/src/meta/baclassicmeta/pyembed/binding_classic.py @@ -1,8 +1,7 @@ # Released under the MIT License. See LICENSE for details. # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring, line-too-long +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations from baclassic._music import do_play_music diff --git a/src/meta/bacoremeta/pyembed/binding_core.py b/src/meta/bacoremeta/pyembed/binding_core.py index 5a34ca8c..e2acf9b9 100644 --- a/src/meta/bacoremeta/pyembed/binding_core.py +++ b/src/meta/bacoremeta/pyembed/binding_core.py @@ -1,8 +1,7 @@ # Released under the MIT License. See LICENSE for details. # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations import json diff --git a/src/meta/bascenev1meta/pyembed/binding_scene_v1.py b/src/meta/bascenev1meta/pyembed/binding_scene_v1.py index a21f9574..c4a19066 100644 --- a/src/meta/bascenev1meta/pyembed/binding_scene_v1.py +++ b/src/meta/bascenev1meta/pyembed/binding_scene_v1.py @@ -1,8 +1,7 @@ # Released under the MIT License. See LICENSE for details. # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring, line-too-long +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations from bascenev1 import _messages diff --git a/src/meta/batemplatefsmeta/pyembed/binding_template_fs.py b/src/meta/batemplatefsmeta/pyembed/binding_template_fs.py index bd90cf3b..863d1297 100644 --- a/src/meta/batemplatefsmeta/pyembed/binding_template_fs.py +++ b/src/meta/batemplatefsmeta/pyembed/binding_template_fs.py @@ -2,8 +2,7 @@ # Where most of our python-c++ binding happens. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this.. -# pylint: disable=missing-module-docstring, line-too-long +# pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations from batemplatefs import _hooks diff --git a/src/meta/bauiv1meta/pyembed/binding_ui_v1.py b/src/meta/bauiv1meta/pyembed/binding_ui_v1.py index 76aa05b2..cc7e6d3c 100644 --- a/src/meta/bauiv1meta/pyembed/binding_ui_v1.py +++ b/src/meta/bauiv1meta/pyembed/binding_ui_v1.py @@ -1,7 +1,6 @@ # Released under the MIT License. See LICENSE for details. # This code is used to grab a bunch of Python objects for use in C++. # Python objects should be added here along with their associated c++ enum. -# Run make update to update the project after editing this. # pylint: disable=useless-suppression, missing-module-docstring, line-too-long from __future__ import annotations