Files
hatchet/.pre-commit-config.yaml
Sean Reilly 15c50f46b5 Partial PR - need to generate SDK - Add endpoint to get the total free worker slots for a worker and the … (#857)
* Add endpoint to get the total free worker slots for a worker and the max runs

* update to use WorkerSempahoreCount instead of checking stepRunId

* modify the query for the new table and change the interface

* bump golangci-lint make changes to name of returned data

* revert the simple example

---------

Co-authored-by: Sean Reilly <sean@hatchet.run>
2024-09-19 10:11:16 -07:00

18 lines
545 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: mixed-line-ending
args: ["--fix=lf"]
- id: end-of-file-fixer
exclude: prisma/migrations/.*\.sql|sql/migrations/.*\.sql
- id: trailing-whitespace
exclude: prisma/migrations/.*\.sql|sql/migrations/.*\.sql
- id: check-yaml
- repo: https://github.com/golangci/golangci-lint
rev: v1.61.0
hooks:
- id: golangci-lint
args: ["--config=.golangci.yml"]