Commit Graph

14 Commits

Author SHA1 Message Date
Niko Savola 0a01e0903e
Update tclfmt command to use configuration file 2025-12-08 19:46:56 +02:00
Niko Savola ca723ba073
Update `tclfmt` command to use `--from tclint` 2025-12-08 19:44:46 +02:00
copilot-swe-agent[bot] d61575d737 Refactor workflow to use setup-uv and re-run tclfmt
- Changed .github/workflows/tcl-lint.yaml to use astral-sh/setup-uv@v5
- Replaced pip install with uvx for tclfmt and tclint
- Reverted README.md to original state (removed documentation section)
- Re-ran tclfmt with indent=2 configuration on all Tcl files

Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 16:05:54 +00:00
copilot-swe-agent[bot] c4ce56872f Add explicit permissions to Tcl lint workflow
Added explicit 'contents: read' permission to the workflow to follow
security best practices and address CodeQL security alert.

Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:27:05 +00:00
copilot-swe-agent[bot] 5e5ad7f50c Add Tcl linting and formatting with tclint/tclfmt
- Added .tclint.toml configuration file
- Formatted all Tcl files with tclfmt (except src/xschem.tcl which has parsing issues)
- Fixed all trailing whitespace and formatting issues
- Created GitHub workflow to run tclint and tclfmt on CI
- Excluded src/xschem.tcl from linting due to parser limitations
- Configured line-length to 180 characters to accommodate long Tcl command chains
- Disabled command-args and unbraced-expr rules (legacy code style)

Co-authored-by: nikosavola <7860886+nikosavola@users.noreply.github.com>
2025-12-08 13:21:25 +00:00
StefanSchippers 648b36d321
Update ci.yaml 2025-05-07 16:16:25 +02:00
stefan schippers 8f8b7e2247 re-added .github/workflows/ci.yaml 2025-05-05 12:50:31 +02:00
StefanSchippers fcd7b96de7
Delete .github/workflows directory 2025-05-05 10:47:38 +02:00
StefanSchippers 0ad39c833d
Update blank.yml 2025-05-05 10:44:24 +02:00
StefanSchippers 6fd11effca
Update blank.yml 2025-05-05 10:38:50 +02:00
StefanSchippers 8bef6964fb
Rename bash,sh to bash.sh 2025-05-05 10:26:45 +02:00
StefanSchippers 213cb525fd
Create bash,sh 2025-05-05 10:25:26 +02:00
StefanSchippers a618a953c9
Create blank.yml 2025-05-05 10:23:35 +02:00
Woazboat 7048b00d5f Configure github CI 2023-05-06 02:04:30 +02:00