aleximmer / Laplace

Laplace approximations for Deep Learning.
https://aleximmer.github.io/Laplace
MIT License
458 stars 71 forks source link

Add "Contributing" section to README #196

Closed wiseodd closed 3 months ago

wiseodd commented 3 months ago

Esp.:

  1. Format using isort --profile black .
  2. Format using ruff format
  3. Lint using ruff check .
runame commented 3 months ago

Since we added isort to the ruff configs, it should be sufficient to run ruff check --fix . and ruff format ..

runame commented 3 months ago

Just added a makefile that bundles the two ruff commands into one (make ruff) in #197.

wiseodd commented 3 months ago

That's true! Note to self: for conform.nvim this translates to:

formatters_by_ft = {
  python = { 
-    'isort',
+    'ruff_fix', 
    'ruff_format' 
  },
}