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:
silverwind
2025-10-28 12:23:50 +01:00
committed by GitHub
parent 6b5563c54a
commit 91839ca01a
5 changed files with 5 additions and 5 deletions

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.