mirror of
https://github.com/nprasad2077/MNIST.git
synced 2026-11-04 09:15:29 +00:00
Lint notebooks (ruff), secret scan (gitleaks), dependency audit (pip-audit), workflow lint (actionlint) and notebook hygiene check, with a results table in the job summary. Fork PRs are skipped since the repo is public and the runner is self-hosted. Also removes an unused TensorDataset import from notebook 04.
8 lines
223 B
TOML
8 lines
223 B
TOML
target-version = "py311"
|
|
extend-exclude = ["docs"]
|
|
|
|
[lint]
|
|
select = ["E", "F", "W"]
|
|
# Notebooks import where they first need a package, run long lines, and chain matplotlib calls with ";".
|
|
ignore = ["E402", "E501", "E702"]
|