mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 05:13:05 +02:00
Enable addtional linters (#34085)
enable mirror, usestdlibbars and perfsprint part of: https://github.com/go-gitea/gitea/issues/34083 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
1 parent
56e42be36d
commit
ee3c82f874
294 files changed
+848
-805
No files matched your search
@@ -67,7 +67,7 @@ func TestPackagePyPI(t *testing.T) {
|
||||
body, writer, closeFunc := createBasicMultipartFile(filename, packageName, content)
|
||||
|
||||
writer.WriteField("project_urls", "DOCUMENTATION , https://readthedocs.org")
|
||||
writer.WriteField("project_urls", fmt.Sprintf("Home-page, %s", projectURL))
|
||||
writer.WriteField("project_urls", "Home-page, "+projectURL)
|
||||
|
||||
_ = closeFunc()
|
||||
|
||||
|
||||
Reference in new issue
Block a user