Skip to content

Commit 38ef45f

Browse files
author
Lukas Puehringer
committed
Revert "Add basic pre-commit config..."
This reverts commit "Add basic pre-commit configuration for tuf/api/*" (44aea45) in order to reduce maintenance burdern: - pre-commit really is a package manager, thus the packages (git hooks) pulled in via pre-commit would need to be kept up-to-date and securely so (sic!). - pre-commit requires contributors to opt-in via "pre-commit install" regardless, so we might as well ask contributors to add and tend to the corresponding configuration file on their own. Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
1 parent be0cef0 commit 38ef45f

3 files changed

Lines changed: 0 additions & 34 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/CONTRIBUTORS.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,6 @@ To work on the TUF project, it's best to perform a development install.
105105
$ pip install -r requirements-dev.txt
106106

107107

108-
Auto-formatting
109-
===============
110-
111-
New TUF code should be auto-formatted with `black <https://black.readthedocs.io/>`_
112-
and `isort <https://pycqa.github.io/isort>`_. The tasks can be installed as
113-
`pre-commit <https://pre-commit.com/>`_ git hooks with the following command.
114-
::
115-
$ pre-commit install
116-
117-
118108
Testing
119109
=======
120110

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Install tuf in editable mode and requirements for local testing with tox,
22
# and also for running test suite or individual tests manually
33
tox
4-
pre-commit
54
-r requirements-test.txt
65
-e .

0 commit comments

Comments
 (0)