Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Switch to ruff for linting | 2023-05-10 | -1/+2 | |
| | ||||
* | Move subdomains to query paths. | 2021-06-08 | -16/+11 | |
| | | | | | | | | | | | | | | In more detail: - Use Django URL namespaces (e.g. `api:bot:infractions`) instead of `django_hosts` host argument. - Update the hosts file setup documentation to remove subdomain entries. - Update the hosts file setup documentation to mention that the entry of `pythondiscord.local` is not required and mainly for convenience. - Rename the `APISubdomainTestCase` to the more fitting `AuthenticatedAPITestCase`, as authentication is all that is left that the class is doing. - Drop dependency to `django_hosts`. | |||
* | Add more pre-commit hooks | 2020-03-04 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 * Remove some useless noqa annotations * Specify errors for noqa annotations * Add missing newlines at end of files See: python-discord/organisation#138 | |||
* | removing possible hardcoded passwords | 2019-07-03 | -1/+1 | |
| | ||||
* | A whole bunch of docstrings. | 2019-04-21 | -2/+4 | |
| | ||||
* | Address review by @jchristgit | 2019-04-07 | -3/+3 | |
| | ||||
* | pysite -> pydis_site | 2019-04-05 | -0/+69 | |