Skip to content

Commit d9c9b09

Browse files
committed
Remove references for unused tools
1 parent 5fc5da9 commit d9c9b09

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,13 @@ in the documentation.
128128

129129
### Linting & Formatting
130130

131-
Django uses the following linting and formatting tools: `black`, `flake8`,
132-
`isort`, and `eslint`. To ensure that the correct versions are used, Django
133-
also supports using `pre-commit` which is the mechanism provided here:
131+
The project uses `pre-commit` to configure and manage lint and formating tools.
132+
Those tools can be invoked using the following command:
134133

135134
```console
136135
$ docker compose run --rm pre-commit
137136
```
138137

139-
You can run individual tools by passing them as an argument:
140-
141-
```console
142-
$ docker compose run --rm pre-commit black
143-
$ docker compose run --rm pre-commit blacken-docs
144-
$ docker compose run --rm pre-commit isort
145-
$ docker compose run --rm pre-commit flake8
146-
$ docker compose run --rm pre-commit eslint # XXX: Currently not working.
147-
```
148-
149138
More information about Django's [coding style][5] can be found in the
150139
documentation.
151140

compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,6 @@ services:
389389
<<: *base
390390
entrypoint: pre-commit run --all-files
391391
working_dir: /django/source
392-
environment:
393-
# XXX: Disable eslint due to issues finding dependencies.
394-
# See https://github.com/django/django/pull/18162
395-
SKIP: eslint
396392

397393
sphinx:
398394
<<: *base

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
black
21
pre-commit
32
unittest-xml-reporting

0 commit comments

Comments
 (0)