0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-21 05:54:15 +01:00
gitea/modules/queue
Wim cb50375e2b
Add more linters to improve code readability (#19989)
Add nakedret, unconvert, wastedassign, stylecheck and nolintlint linters to improve code readability

- nakedret - https://github.com/alexkohler/nakedret - nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.
- unconvert - https://github.com/mdempsky/unconvert - Remove unnecessary type conversions
- wastedassign - https://github.com/sanposhiho/wastedassign -  wastedassign finds wasted assignment statements.
- notlintlint -  Reports ill-formed or insufficient nolint directives
- stylecheck - https://staticcheck.io/docs/checks/#ST - keep style consistent
  - excluded: [ST1003 - Poorly chosen identifier](https://staticcheck.io/docs/checks/#ST1003) and [ST1005 - Incorrectly formatted error string](https://staticcheck.io/docs/checks/#ST1005)
2022-06-20 12:02:49 +02:00
..
bytefifo.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
helper.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
manager.go Add number in queue status to monitor page (#18712) 2022-02-12 13:31:26 +08:00
queue.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
queue_bytefifo.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_disk_channel.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
queue_disk_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_disk_test.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
queue_test.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
setting.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 2020-02-02 23:19:58 +00:00
unique_queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_channel_test.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_disk.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_disk_channel.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
unique_queue_redis.go Pause queues (#15928) 2022-01-22 21:22:14 +00:00
unique_queue_wrapped.go Make WrappedQueues and PersistableChannelUniqueQueues Pausable (#18393) 2022-01-24 22:54:35 +00:00
workerpool.go Fix 64-bit atomic operations on 32-bit machines (#19531) 2022-04-27 10:32:04 -05:00