neoground / neowx-material

Revamp WeeWX with Neowx-Material, a modern Material Design skin offering a sleek, responsive UI, captivating graphs & advanced features.
https://neoground.com/projects/neowx-material
MIT License
53 stars 28 forks source link

SyntaxWarning #46

Open jakesie1309 opened 2 years ago

jakesie1309 commented 2 years ago

Hi, i notice that you current code displays a lot of syntax issues with the latest version of Python tried to search for the below in the files, but can only find is not that is # out.

Are you planning of updating the syntax to reflect != or can you guide me so that i can correct myself. Thanx again

_etc_weewx_skins_neowx_material_footer_inc.py:234: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_footer_inc.py:295: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_footer_inc.py:305: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:412: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:424: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:436: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:487: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:499: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yearY_html_tmpl.py:511: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_index_html_tmpl.py:448: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_index_html_tmpl.py:460: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_index_html_tmpl.py:472: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:372: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:381: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:390: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:428: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:437: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_yesterday_html_tmpl.py:446: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_week_html_tmpl.py:395: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_week_html_tmpl.py:407: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_week_html_tmpl.py:419: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_month_html_tmpl.py:395: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_month_html_tmpl.py:407: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_month_html_tmpl.py:419: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_year_html_tmpl.py:417: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_year_html_tmpl.py:429: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_year_html_tmpl.py:441: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_year_html_tmpl.py:492: SyntaxWarning: "is not" with a literal. Did you mean "!="? _etc_weewx_skins_neowx_material_year_html_tmpl.py:504: SyntaxWarning: "is not" with a literal. Did you mean "!="?

Valinwolf commented 2 years ago

This is identical to #40 and #30 and is fixed by PR #44