mirror of
https://github.com/esphome/esphome.git
synced 2025-06-19 14:55:40 +01:00
Raise minimum python version to 3.8 (#3176)
This commit is contained in:
.github/workflows
.gitignore.pre-commit-config.yamlesphome
requirements_test.txtscript
setup.py@ -281,9 +281,7 @@ def highlight(s):
|
||||
],
|
||||
)
|
||||
def lint_no_defines(fname, match):
|
||||
s = highlight(
|
||||
"static const uint8_t {} = {};".format(match.group(1), match.group(2))
|
||||
)
|
||||
s = highlight(f"static const uint8_t {match.group(1)} = {match.group(2)};")
|
||||
return (
|
||||
"#define macros for integer constants are not allowed, please use "
|
||||
"{} style instead (replace uint8_t with the appropriate "
|
||||
|
Reference in New Issue
Block a user