how do we run the lint command in local dev env? <...
# daft-dev
c
how do we run the lint command in local dev env? @jay
d
Which linter are you thinking off? Most linting should be triggered by pre-commit hooks
s
if you run
make hooks
it will install the precommit hooks!
to manually run it, you can run
Copy code
pre-commit run --all-files
c
https://github.com/Eventual-Inc/Daft/actions/runs/10822844665/job/30027374884 I have a pr which has style error. but it does not have problem when i push the code
s
What happens if you run
pre-commit run --all-files
on your machine?
c
yes. it failed. i will fix the pr.
s
The precommit command should also autofix the error for you for the simple stuff!
c
but it does not do it.