Add missing copyright notices

This commit is contained in:
Zoé Cassiopée Gauthier 2024-04-05 22:32:05 -04:00
parent aceedda2e8
commit 2d12e31177
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
# Copyright 2024 Zoé Cassiopée Gauthier.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
import urllib.parse import urllib.parse
from dataclasses import dataclass from dataclasses import dataclass
from functools import cached_property from functools import cached_property

View File

@ -1,5 +1,8 @@
MINIMUM_SPECIAL_NAME_PARTS = 2 # Copyright 2024 Zoé Cassiopée Gauthier.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
POKEMON_TYPE_COLORS = { POKEMON_TYPE_COLORS = {
"POKEMON_TYPE_BUG": "green_yellow", "POKEMON_TYPE_BUG": "green_yellow",
@ -21,6 +24,7 @@ POKEMON_TYPE_COLORS = {
"POKEMON_TYPE_STEEL": "steel_blue", "POKEMON_TYPE_STEEL": "steel_blue",
"POKEMON_TYPE_WATER": "cornflower_blue", "POKEMON_TYPE_WATER": "cornflower_blue",
} }
MINIMUM_SPECIAL_NAME_PARTS = 2
def format_pokemon_name(name: str, pokemon_type: str | None = None): def format_pokemon_name(name: str, pokemon_type: str | None = None):