Use python flavor

This commit is contained in:
Ilan Cosman 2021-12-07 13:05:39 -08:00
parent 1af6bf39c2
commit fe275d3177
2 changed files with 2 additions and 2 deletions

View File

@ -60,6 +60,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: megalinter/megalinter/flavors/documentation@v5
- uses: megalinter/megalinter/flavors/python@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -33,7 +33,7 @@ def hex_to_lab(hex):
def closest_tango_color(hex):
input_color = hex_to_lab(hex)
min_delta_e = 100000000
min_delta_e = sys.maxsize
closest_color_name = None
for color_name, color_hex in TANGO_COLORS.items():