Commit Graph

1663 Commits

Author SHA1 Message Date
Patrick McGuire b7616a0ff4 Update update_birdnet_snippets.sh 2022-05-11 13:25:56 -04:00
Patrick McGuire 6ee9a7cc68 Update update_birdnet_snippets.sh 2022-05-11 09:20:32 -04:00
Patrick McGuire b08a90218f Update update_birdnet_snippets.sh 2022-05-11 09:14:17 -04:00
Patrick McGuire 798015de57 Merge pull request #268 from mcguirepr89/revert-267-python-lint
Revert "Adding Flake8 Github Action for Python Linting "
2022-05-11 09:06:52 -04:00
Patrick McGuire 528802a0e6 Revert "Adding Flake8 Github Action for Python Linting " 2022-05-11 09:05:59 -04:00
Patrick McGuire bffd6a889d Merge pull request #267 from jmherbst/python-lint
Adding Flake8 Github Action for Python Linting
2022-05-11 08:57:34 -04:00
Jake Herbst 264380a37f Fixing flake8 errors in script/server.py
F401 'argparse' imported but unused
F821 undefined name 'os'
F821 undefined name 'socket'
F821 undefined name 'threading'
E712 comparison to True should be 'if cond is True:' or 'if cond:'
2022-05-11 08:52:01 -04:00
Jake Herbst 2dd2b40ca5 Updating script/server.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/server.py' as initial style fixes.
2022-05-11 08:48:37 -04:00
Jake Herbst 0db7c12ac4 Merge branch 'main' into python-lint 2022-05-11 08:47:40 -04:00
Jake Herbst 6d71ca9c2a Removing exclude list from Flake8 now that all python scripts are corrected 2022-05-11 08:39:09 -04:00
Jake Herbst 5020f4dd06 Correcting additional flake8 failures on server.py
Corrected:
F401 imported but unused
E265 block comment should start with '# '
E501 line too long
2022-05-11 08:37:02 -04:00
Jake Herbst 4211eb19c6 Updating script/server.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/server.py' as initial style fixes.
2022-05-11 08:32:21 -04:00
mcguirepr89 6cc2e0b0fd removing a iterator that removes files 2022-05-11 08:32:19 -04:00
Jake Herbst d707010843 Correcting additional flake8 failures on plotly_streamlit.py
Corrected:
F401 imported but unused
E501 line too long
2022-05-11 08:30:38 -04:00
Jake Herbst 7ad6bbe93e Updating script/plotly_streamlit.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/plotly_streamlit.py' as initial style fixes.
2022-05-11 08:23:42 -04:00
Jake Herbst 9b12feea5d Added a flake8 configuration ini file to configure line length.
Configures flake8 to use 128 character lengths for "E501 line too long"
2022-05-11 08:16:21 -04:00
Jake Herbst d5866f2b52 Removing unused variable HUMAN_FLAG from privacy_server.py
Flake8 error was:
F841 local variable 'HUMAN_FLAG' is assigned to but never used
2022-05-11 08:12:55 -04:00
Jake Herbst 6a6826c59e Correcting additional flake8 failures on privacy_server.py
Corrected:
E712 comparison to True should be 'if cond is True:' or 'if cond:'
E265 block comment should start with '# '
2022-05-11 08:11:55 -04:00
Jake Herbst a7e4ef3777 Removing unused imports in privacy_server.py to satisfy flake8 linting 2022-05-11 08:07:51 -04:00
Jake Herbst 5f5c320e61 Updating script/privacy_server.py to satisfy pep8 style guide
Used 'autopep8 --in-place --aggressive scripts/privacy_server.py' as initial style fixes.
2022-05-11 08:05:54 -04:00
Jake Herbst f81b2c3014 Removing unused import in daily_plot.py to satisfy flake8 linting 2022-05-11 07:58:34 -04:00
Jake Herbst 3e20ee732e Updating script/daily_plot.py to satisfy pep8 style guide
Used 'autopep8 --in-place --aggressive scripts/daily_plot.py' as initial style fixes.
2022-05-11 07:56:44 -04:00
Jake Herbst 26079e5696 Bumping python linter to use v3.9.x to match Debian Bullseye default 2022-05-11 07:49:22 -04:00
Jake Herbst 6067415a8c Adding flake8 for python linting 2022-05-10 20:41:22 -04:00
Jake Herbst dbb14cae69 Updating script/analyze.py to satisfy pep8 style guide and pass flake8 linting.
Used 'autopep8 --in-place --aggressive scripts/analyze.py' as initial style fixes.
Manually adjusted line lengths for parser help options.
Moved example comment to top below shebang.
2022-05-10 20:23:45 -04:00
ehpersonal38 68c8c20996 Update server.py 2022-05-10 17:10:41 -04:00
ehpersonal38 b1a6f8e72d Update config.php
you too
2022-05-10 13:33:13 -04:00
ehpersonal38 384c19353f Update config.php
only show "Notify each new species" enabled when apprise.txt isn't empty -- same check that species_notifier.sh does
2022-05-10 13:31:34 -04:00
ehpersonal38 a6a8c3b46f Update server.py
Co-Authored-By: Patrick McGuire <60325264+mcguirepr89@users.noreply.github.com>
2022-05-10 13:13:02 -04:00
ehpersonal38 45fbc435c7 Update config.php 2022-05-10 10:52:06 -04:00
ehpersonal38 d9aa85c488 begone pushed! 2022-05-10 10:46:48 -04:00
ehpersonal38 29ce93d308 Allow 'notify each new species' to be toggled too
this code is a slight abomination but it does work!
2022-05-10 09:31:42 -04:00
ehpersonal38 0ed17f8dd5 Merge pull request #261 from mcguirepr89/notifications
Apprise Notifications, addresses #228
2022-05-10 09:08:06 -04:00
mcguirepr89 4476bc1ac2 no need to warn about time now 2022-05-09 18:58:43 -04:00
mcguirepr89 d14e954036 no need for the service restart 2022-05-09 18:56:23 -04:00
ehpersonal38 131942ca5e Update config.php 2022-05-09 18:19:17 -04:00
mcguirepr89 0d4c367ee1 just for apprise now 2022-05-09 16:21:04 -04:00
mcguirepr89 95704bfe91 removing Pushed.co from there as well 2022-05-09 16:20:01 -04:00
mcguirepr89 cfea4115bb removed Pushed.co and made it "Notifications" 2022-05-09 16:18:28 -04:00
mcguirepr89 9e6be6cfaa this fixes the "TinyFileManager" "bug" (not a bug!!!) 2022-05-09 16:13:43 -04:00
Patrick McGuire 062f720add Merge branch 'main' into notifications 2022-05-09 16:03:34 -04:00
ehpersonal38 aa0372079f Update disk_check.sh
more reasonable number to delete
2022-05-09 15:43:48 -04:00
ehpersonal38 e066484476 a little more feedback for the user 2022-05-09 15:00:21 -04:00
mcguirepr89 ef43b81cb6 this will now update the disk_check_exclude.txt file
before doing any deleting
2022-05-09 14:41:30 -04:00
Patrick McGuire 86113cbdd6 Merge pull request #260 from mcguirepr89/best-recordings
Prevent disk_check from erasing our "Best Recordings"
2022-05-09 14:19:49 -04:00
Patrick McGuire e64157f1eb Update update_birdnet_snippets.sh 2022-05-09 14:07:25 -04:00
Patrick McGuire 6938de64ce Update update_birdnet_snippets.sh 2022-05-09 14:02:14 -04:00
Patrick McGuire 840077f534 Merge pull request #259 from mcguirepr89/server_merger
Server merger
2022-05-09 13:53:51 -04:00
mcguirepr89 43cf53330c adding brief recommendation on settings 2022-05-09 13:52:16 -04:00
mcguirepr89 b3c4e905a9 after learning more about the code, it won't use the
included_species_list.txt file until after considering
the privacy_threshold on the entire labels.txt
2022-05-09 13:49:05 -04:00