You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will soon be able to read default configuration from a local pyproject.toml file, but this leaves a bit of a gap:
When you invoke tartufo with a git_url, it will clone that url into a local folder, and then scan that folder. But if that repo contains a pyproject.toml with a [tool.tartufo] section, we don't respect any of those options.
I don't think it makes sense, in this scenario, to read all options. But I think it does make sense to scan select options. The options I think we should attempt to read are:
rules -- files containing regexes
include-files -- Files to be included in the scan
exclude-files -- Files to be excluded from the scan
The text was updated successfully, but these errors were encountered:
We will soon be able to read default configuration from a local
pyproject.toml
file, but this leaves a bit of a gap:When you invoke
tartufo
with agit_url
, it will clone that url into a local folder, and then scan that folder. But if that repo contains apyproject.toml
with a[tool.tartufo]
section, we don't respect any of those options.I don't think it makes sense, in this scenario, to read all options. But I think it does make sense to scan select options. The options I think we should attempt to read are:
rules
-- files containing regexesinclude-files
-- Files to be included in the scanexclude-files
-- Files to be excluded from the scanThe text was updated successfully, but these errors were encountered: