This file contains hidden or 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
import importlib.abc | |
import importlib.machinery | |
import sys | |
import types | |
class DependencyInjectorFinder(importlib.abc.MetaPathFinder): | |
def __init__(self, loader): | |
self._loader = loader | |
def find_spec(self, fullname, path, target=None): |
This file contains hidden or 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
;===================================================== | |
; | |
; To learn more about how to configure Polybar | |
; go to https://github.com/jaagr/polybar | |
; | |
; The README contains alot of information | |
; | |
;===================================================== | |
[colors] |
This file contains hidden or 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
#!/usr/bin/env python3 | |
import getpass | |
import random | |
MAX_GUESSES = 7 | |
SCORE_FILENAME = "gamescores" | |
def genrandom(min_num, max_num): |
This file contains hidden or 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
OpenBlox Coding Standard | |
------------------------ | |
Indentation | |
----------- | |
Indentation is done with tabs. | |
Each tab is the equivalent of 4 spaces, therefore, each tab is 4 spaces long. | |
Comments |
This file contains hidden or 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
import panzee.damage | |
def test_stats_default_values(): | |
stats = panzee.damage.ModelStats() | |
assert stats.movement_cost == 1 | |
assert stats.damage_reduction == 1.0 | |
assert stats.max_ap == 100 | |
assert stats.faint_threshold == 20 |