Skip to content

Commit aed59de

Browse files
committed
Renamed h to hex
1 parent 4edf972 commit aed59de

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

find-project-root/utils/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

get-min-py/src/get_min_py/cli/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

latin-locales/utils/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

non-latin-locales/utils/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

project-markers/utils/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

remove-json-keys/src/remove_json_keys/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

translate-messages/src/translate_messages/lib/color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def hex_to_ansi(hex_color: str) -> str:
1313
class _Schemes:
1414
@property
1515
def default(self) -> list[str]:
16-
return [hex_to_ansi(h) for h in [
16+
return [hex_to_ansi(hex) for hex in [
1717
'#00e5bc', '#18c8ae', '#30ac9f', '#488f91', '#607383',
1818
'#775674', '#8f3966', '#a71d57', '#bf0049', '#9a1b5e'
1919
]]
2020
@property
2121
def rainbow(self) -> list[str]:
22-
return [hex_to_ansi(h) for h in [
22+
return [hex_to_ansi(hex) for hex in [
2323
'#e41a1c', '#ff7f00', '#ffff33', '#4daf4a', '#377eb8',
2424
'#984ea3', '#f781bf', '#999999', '#a65628', '#d95f02'
2525
]]

0 commit comments

Comments
 (0)