From 2d12e311778552466a5ebd4fa96bcf05beb99d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=A9=20Cassiop=C3=A9e=20Gauthier?= Date: Fri, 5 Apr 2024 22:32:05 -0400 Subject: [PATCH] Add missing copyright notices --- src/pogo_scaled_estimators/pokebattler_proxy.py | 6 ++++++ src/pogo_scaled_estimators/utilities.py | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pogo_scaled_estimators/pokebattler_proxy.py b/src/pogo_scaled_estimators/pokebattler_proxy.py index 3d90da8..031fd81 100644 --- a/src/pogo_scaled_estimators/pokebattler_proxy.py +++ b/src/pogo_scaled_estimators/pokebattler_proxy.py @@ -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 from dataclasses import dataclass from functools import cached_property diff --git a/src/pogo_scaled_estimators/utilities.py b/src/pogo_scaled_estimators/utilities.py index 44d4ada..3b7bb4d 100644 --- a/src/pogo_scaled_estimators/utilities.py +++ b/src/pogo_scaled_estimators/utilities.py @@ -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_BUG": "green_yellow", @@ -21,6 +24,7 @@ POKEMON_TYPE_COLORS = { "POKEMON_TYPE_STEEL": "steel_blue", "POKEMON_TYPE_WATER": "cornflower_blue", } +MINIMUM_SPECIAL_NAME_PARTS = 2 def format_pokemon_name(name: str, pokemon_type: str | None = None):