django-rest-framework/docs/community
Adam Johnson aa12a5f967
Lint with pre-commit (#7900)
Following [my comment here](https://github.com/encode/django-rest-framework/pull/7589#issuecomment-813301322) and [Django's own move to pre-commit](https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#pre-commit-checks).

* Add pre-commit config file to run flake8 and isort.
* Add extra "common sense" hooks.
* Run pre-commit on GitHub actions using the [official action](https://github.com/pre-commit/action/). This is a good way to get up-and-running but it would be better if we activated [pre-commit.ci](https://pre-commit.ci/), which is faster and will auto-update the hooks for us going forwards.
* Remove `runtests.py` code for running linting tools.
* Remove `runtests.py --fast` flag, since that would now just run `pytest -q`, which can be done with `runtests.py -q` instead.
* Remove tox configuration and requirements files for linting.
* Update the contributing guide to mention setting up pre-commit.
2021-04-05 12:08:52 +01:00
..
3.1-announcement.md Update docs to use lists instead of tuples (#6797) 2019-07-12 18:15:36 -07:00
3.2-announcement.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
3.3-announcement.md Add "Community" section to docs, minor cleanup (#5993) 2018-07-06 11:28:18 +02:00
3.4-announcement.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
3.5-announcement.md Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
3.6-announcement.md Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
3.7-announcement.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
3.8-announcement.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
3.9-announcement.md Replace all url() calls with path() or re_path() (#7512) 2020-09-08 15:32:27 +01:00
3.10-announcement.md Version 3.11 (#7083) 2019-12-12 14:31:40 +00:00
3.11-announcement.md Version 3.11 (#7083) 2019-12-12 14:31:40 +00:00
3.12-announcement.md Placeholder for 3.12 release (#7379) 2020-09-28 10:47:50 +01:00
3.0-announcement.md Update docs to use lists instead of tuples (#6797) 2019-07-12 18:15:36 -07:00
contributing.md Lint with pre-commit (#7900) 2021-04-05 12:08:52 +01:00
funding.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
jobs.md Add more DRF job sites (#6691) 2019-05-24 12:50:15 +01:00
kickstarter-announcement.md Fix links 404/302/303 in docs/community (#6387) 2019-01-08 11:15:53 +00:00
mozilla-grant.md Prefer https:// for URLs when available throughout project (#6208) 2018-10-02 08:28:58 +02:00
project-management.md proper Github repo issue already resolved (#6999) 2019-10-17 13:58:12 +01:00
release-notes.md Version 3.12.4 (#7873) 2021-03-26 09:27:01 +00:00
third-party-packages.md Added fast-drf as a thirdparty package for making API development faster. (#7857) 2021-03-22 12:07:48 +00:00
tutorials-and-resources.md Fix broken machinalis links (#7580) 2020-10-06 13:14:11 +01:00