♻️🙈 move problems to data forlder
This commit is contained in:
parent
7f3c81cd81
commit
45a74e5a71
|
@ -1,5 +1,6 @@
|
||||||
# Secrets
|
# Secrets
|
||||||
.env
|
.env
|
||||||
|
data/teams
|
||||||
|
|
||||||
# Files from PyCharm
|
# Files from PyCharm
|
||||||
.idea/
|
.idea/
|
||||||
|
|
|
@ -32,11 +32,11 @@ class Role:
|
||||||
CAPTAIN = "Capitaine"
|
CAPTAIN = "Capitaine"
|
||||||
|
|
||||||
|
|
||||||
with open("problems") as f:
|
|
||||||
PROBLEMS = f.read().splitlines()
|
|
||||||
MAX_REFUSE = len(PROBLEMS) - 5
|
|
||||||
|
|
||||||
ROUND_NAMES = ["premier tour", "deuxième tour"]
|
ROUND_NAMES = ["premier tour", "deuxième tour"]
|
||||||
|
|
||||||
TOP_LEVEL_DIR = Path(__file__).parent.parent
|
TOP_LEVEL_DIR = Path(__file__).parent.parent
|
||||||
TIRAGES_FILE = TOP_LEVEL_DIR / "data" / "tirages.yaml"
|
TIRAGES_FILE = TOP_LEVEL_DIR / "data" / "tirages.yaml"
|
||||||
|
|
||||||
|
with open(TOP_LEVEL_DIR / "data" / "problems") as f:
|
||||||
|
PROBLEMS = f.read().splitlines()
|
||||||
|
MAX_REFUSE = len(PROBLEMS) - 5
|
||||||
|
|
Loading…
Reference in New Issue