Add missing copyright notices
This commit is contained in:
parent
aceedda2e8
commit
2d12e31177
@ -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
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user