Commit e181bae
committed
chore(ruff[lint]): Allow exec in the Sphinx config
why: `docs/conf.py` collects the project's title, copyright, and URLs by
exec'ing the package's `__about__.py` into a dict, because
`g/__init__.py` re-exports only `__version__`. The input is a tracked
file in this repository, not user data, so the flake8-bandit warning has
nothing to warn about here.
what:
- Per-file-ignore S102 for `docs/conf.py`
https://docs.astral.sh/ruff/rules/exec-builtin/1 parent 8fd88e8 commit e181bae
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
| |||
0 commit comments