-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wee_reports shows syntax warnings #30
Comments
and the same warnings are issued when archive records are processed |
these warnings are issued when using python 3.8. i've fixed this on my system, but you may want to change the code to eliminate the warnings |
@weswitt I have the same issue. Can you tell me how you solved it? I'm using the docker image |
I'll try to submit a PR for the fix tomorrow morning |
Do you still plan to submit PR for fix? I have same syntax warning in fresh install.. |
Hello everyone, this is an older issue which is still existing on my fresh install of WeeWX 4.8.0 using Python 3.9.2. How can I fix it? |
And still happening on WeeWX v5.1.0, but the version doesn't matter since the last release of NeoWX Material was over three years ago, and there haven't been anymore commits since then 😳 |
on a fresh install of weewx 4.5.1 and neowx-material 1.11 running wee_reports yields the following syntax warnings. not sure how important this is??
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:406: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:418: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:430: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:481: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:493: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month__Y__m_html_tmpl.py:505: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_head_inc.py:172: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_head_inc.py:184: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_header_inc.py:100: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_header_inc.py:131: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:150: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:169: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:188: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:207: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:226: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:245: SyntaxWarning: "is" with a literal. Did you mean "=="?
_home_weewx_skins_neowx_material_header_inc.py:263: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_header_inc.py:276: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:152: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:170: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:178: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:201: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:212: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:223: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:234: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:295: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_footer_inc.py:305: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:412: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:424: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:436: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:487: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:499: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year__Y_html_tmpl.py:511: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_index_html_tmpl.py:448: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_index_html_tmpl.py:460: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_index_html_tmpl.py:472: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:372: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:381: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:390: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:428: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:437: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_yesterday_html_tmpl.py:446: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_week_html_tmpl.py:395: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_week_html_tmpl.py:407: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_week_html_tmpl.py:419: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month_html_tmpl.py:395: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month_html_tmpl.py:407: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_month_html_tmpl.py:419: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:417: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:429: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:441: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:492: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:504: SyntaxWarning: "is not" with a literal. Did you mean "!="?
_home_weewx_skins_neowx_material_year_html_tmpl.py:516: SyntaxWarning: "is not" with a literal. Did you mean "!="?
The text was updated successfully, but these errors were encountered: