Move codeformat folder to tools (#35758)

Followup to https://github.com/go-gitea/gitea/pull/35734.

- Move `codeformat` folder to `tools`
- Add `tools` to `GO_DIRS`
- Move `misspellings.csv` to `assets` so we can lint the whole `tools`
directory without filter shenanigans.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwindandwxiaoguang authored and GitHub committed 2025-10-28 11:23:50 +00:00
1 parent 6b5563c54a
commit 91839ca01a
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import (
"strconv"
"strings"
"code.gitea.io/gitea/build/codeformat"
"code.gitea.io/gitea/tools/codeformat"
)
// Windows has a limitation for command line arguments, the size can not exceed 32KB.