python-tuf/docs
Martin Vrachev ed8a06bcb3 Move part of isort options in pyproject.toml
We are using 4 linters: black, isort, pylint and mypy.
It's good if we use one file as a source for truth for all linter
configurations.

I tried multiple ways to use the src_path option,
so we can just call isort without pointing out the target folders, but I was not
successful.
I tried running isort with "isort --settings-path=pyproject.toml"
I got the error:
"Error: arguments passed in without any paths or content."

Additionally, I saw one project with source configuration https://github.com/Pylons/pyramid/blob/master/pyproject.toml,
but they had to give explicit folders too 8061fce297/tox.ini (L26)
and 8061fce297/tox.ini (L66)

It was a similar situation with "check" and "diff".
In the documentation it's said that for both check and diff are not
supported in configuration files.
See:
- https://pycqa.github.io/isort/docs/configuration/options.html#check
- https://pycqa.github.io/isort/docs/configuration/options.html#show-diff

Additionally, in two issues it was confirmed that in integration tests
we should use --check and --diff the way we did until now.

As a result, I moved part of the configuration options for isort inside
pyproject.toml without the actual directories that need to be linted
and "check" and "diff" options.

Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
2021-12-01 16:28:15 +02:00
..
adr Merge pull request #1486 from MVrachev/change-adr8 2021-09-08 13:05:14 +03:00
api docs: rename "helpers" to "supporting classes" 2021-09-23 17:52:55 +03:00
images Add banner_readme.png 2018-01-23 16:36:51 -05:00
latex Fix some typos in docs 2019-02-25 17:00:26 +07:00
AUTHORS.txt Explaining GOVERNANCE structure to better match CNCF graduation ask 2018-10-11 10:50:47 -04:00
CHANGELOG.md Release 0.19.0 2021-10-19 17:17:49 +03:00
CLI.md Update CLI.md (#1508) 2021-07-27 20:32:36 -04:00
CODE-OF-CONDUCT.md Move docs to the docs/ directory 2018-01-24 10:57:01 -05:00
conf.py docs: rename "helpers" to "supporting classes" 2021-09-23 17:52:55 +03:00
CONTRIBUTORS.rst Move part of isort options in pyproject.toml 2021-12-01 16:28:15 +02:00
GETTING_STARTED.rst DOC: collapse CLI_EXAMPLES.md into CLI.md 2019-04-08 11:54:10 -04:00
GOVERNANCE.md Update links to account for repository rename 2021-09-01 11:15:33 +01:00
index.rst Update links to account for repository rename 2021-09-01 11:15:33 +01:00
INSTALLATION.rst Update links to account for repository rename 2021-09-01 11:15:33 +01:00
MAINTAINERS.txt Add Teodora to maintainers 2021-08-31 09:57:52 +01:00
METADATA.md Update docs/METADATA.md to reflect recent spec change 2020-03-11 11:35:37 +00:00
OVERVIEW.rst docs: Remove academics files 2021-05-28 17:07:14 -04:00
QUICKSTART.md Update links to account for repository rename 2021-09-01 11:15:33 +01:00
RELEASE.md Remove references to setup.py 2021-10-21 13:30:46 +01:00
SECURITY.md Update links to account for repository rename 2021-09-01 11:15:33 +01:00
TAP.rst Move docs to the docs/ directory 2018-01-24 10:57:01 -05:00
tuf-spec.0.9.txt fix the outdate url 2021-04-08 10:27:17 +08:00
tuf-spec.md Edit specifiation files to point to their new location 2017-10-11 15:49:47 -04:00
tuf-spec.txt Edit specifiation files to point to their new location 2017-10-11 15:49:47 -04:00
TUTORIAL.md updated docs and comments 2021-07-14 10:37:08 +03:00