Download the Astronomy Picture of the Day every day, keeping only the most recent 100 images. For use in a screensaver and wallpaper folder.
pylint
is configured to run spell checking in addition to linting. This requires
setting up enchant
.
Install enchant and pyenv
(on MacOS):
brew install enchant pyenv
Follow instructions for setting up pyenv
shell.
You need to open a new shell after your .bash_profile
(or whatever) changes.
Note: For Silicon Macs: include
export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.2.dylib
in your.bash_profile
(or whatever) file to make sure thatpylint
works properly. Without it you would encounter apylint
error:argument --spelling-dict: invalid choice: 'en_US' (choose from '')
.
Setup python:
pyenv install 3.12
Setup pipenv
:
pip install --user pipenv
Note: If you have
PIP_REQUIRE_VIRTUALENV
then you will want to set this to false for this install to be outside of virtual environments.
Update your PATH to include ~/.local/bin
as per documentation.
Sync dependencies:
pipenv sync --dev