Adam Johnson
|
f628db383a
|
Fix GitHub Actions to run on 'master' branch (#7926)
The config I copied in #7903 was from a repo with the new name 'main', so tests have not been running on master since.
|
2021-04-16 17:23:18 +01:00 |
|
Adam Johnson
|
fd017d00f9
|
Move CI to GitHub Actions (#7903)
* Recreate all the jobs on GitHub Actions
* Upgrade to Ubuntu 20.04
* Upgrade base/docs/dist to Python 3.9
|
2021-04-06 18:34:18 +01:00 |
|
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 |
|
Tom Christie
|
ee51145574
|
Update config.yml
|
2021-03-03 15:43:57 +00:00 |
|
Tom Christie
|
37b8d2018d
|
Create 1-issue.md
|
2021-03-03 15:42:38 +00:00 |
|
Tom Christie
|
db0bb5ef42
|
Update config.yml
|
2021-03-03 15:39:22 +00:00 |
|
Tom Christie
|
c9a00bdb2c
|
Update config.yml
|
2021-03-03 15:33:14 +00:00 |
|
Tom Christie
|
344235ab37
|
Create config.yml
|
2021-03-03 15:32:19 +00:00 |
|
Tom Christie
|
1deb8ae370
|
Update FUNDING.yml
|
2021-03-03 15:06:42 +00:00 |
|
Tom Christie
|
3135ae86c9
|
Create FUNDING.yml
|
2019-06-04 09:00:11 +01:00 |
|