|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| |\ |  | 
| | |\  
| | | 
| | | | Setup Sentry | 
| | |/ |  | 
| | |\  
| | | 
| | | | Update contributor doc | 
| | | |\  
| | |/  
| |/| |  | 
| | |\ \  
| | | | 
| | | | | Add `data` persistence directory to .gitignore | 
| | |/ / |  | 
| | |/ |  | 
| | |\  
| | | 
| | | | Battleships Game | 
| | | |\  
| | |/  
| |/| |  | 
| | | | 
| | | 
| | | | Co-Authored-By: Karlis S. <[email protected]> | 
| | | | |  | 
| | | | |  | 
| | | | |  | 
| | | |\ |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| | | | | |  | 
| |\| | | |  | 
| | |\ \ \  
| | | | | 
| | | | | | Bump Python version to 3.8 | 
| | | |\ \ \  
| | |/ / /  
| |/| | | |  | 
| | |\ \ \ \  
| | | | | | 
| | | | | | | Added Python bot help command to SeasonalBot | 
| | | |\ \ \ \  
| | |/ / / /  
| |/| | | | |  | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | reverted icon removal in `.help` command. | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | SeasonalBot, marked them down with comments and fixed docstrings formatting for linting. | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | |/ / /  
| |/| | | |  | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | command used in format `.space mars` and `.space mars <rover>` too. | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | commands + add comments | 
| | | | | | |  | 
| |\ \ \ \ \ |  | 
| | |\| | | | |  | 
| | | |\ \ \ \  
| | | | | | | 
| | | | | | | | Name the use Python version task | 
| | | |/ / / /  
| | | | | |   
| | | | | |   
| | | | | | | The name is needed to be able to retrieve its output variable. | 
| | | |\ \ \ \  
| | | | | | | 
| | | | | | | | Add pep8-naming and more pre-commit hooks | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | Pre-commit creates its own environment in which it installs hooks. To
speed up runs, the pipeline will cache this for use with future jobs.
The cache will update if .pre-commit-config.yaml changes.
The flake8 pre-commit hook invokes flake8 via `pipenv run flake8`. It's
normally useful to use pipenv here cause it ensures flake8 is invoked
within the context of the venv. However, in CI, there is no venv -
dependencies are installed directly to the system site-packages.
`pipenv run` does not work in such case because it tries to create a new
venv if one doesn't exist (it doesn't consider the system interpreter to
be a venv).
This workaround (okay, it's a hack) creates an executable shell script
which replaces the original pipenv binary. The shell script simply
ignores the first argument (i.e. ignores `run` in `pipenv run`) and
executes the rest of the arguments as a command. It essentially makes
`pipenv run flake8` equivalent to just having ran `flake8`. When
pre-commit executes pipenv, the aforementioned script is what will run.
* Re-format indentation of azure-pipelines.yml | 
| | | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | 
| | | | | | | | Hooks added:
* check-merge-conflict - checks for files with merge conflict strings
* check-toml - attempts to load all toml files to verify syntax
* check-yaml - attempts to load all yaml files to verify syntax
* end-of-file-fixer - ensures files end in a newline and only a newline
* mixed-line-ending - replaces mixed line endings with LF
* trailing-whitespace - trims trailing whitespace
* python-check-blanket-noqa - enforces that noqa annotations always
  occur with specific codes
Changes made to comply with new hooks:
* Remove trailing whitespaces
* Convert some CRLF files to LF
* Remove noqa and add missing type annotations
* Add missing newlines at end of files
See: python-discord/organisation#138 | 
| | | |/ / / /  
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | |   
| | | | | | | The pipfile will need to be re-locked to add a dependency so may as well
re-pin some dependencies to reflect the more recent versions that will
be used. discord.py was pinned to a patch version instead of a minor
version to be on the safe side.
Notable updates:
* discord.py -> 1.3.2
* flake8-annotation -> 2.0
* pre-commit -> 2.1 | 
| | | |\ \ \ \  
| | | | | | | 
| | | | | | | | Added .games command | 
| | | | |\ \ \ \  
| | | |/ / / /  
| | |/| | | | |  | 
| | | |\ \ \ \ \  
| | | | | | | | 
| | | | | | | | | Strip references to seasonalbot chat |