Spaces:
Sleeping

dn commited on
Commit
4bf9490
·
1 Parent(s): 85a58ab

add pre-commit hooks

Browse files
Files changed (2) hide show
  1. .pre-commit-config.yaml +1 -1
  2. README.md +0 -3
.pre-commit-config.yaml CHANGED
@@ -5,7 +5,7 @@ repos:
5
  hooks:
6
  # Run the linter.
7
  - id: ruff-check
8
- types_or: [ python, pyi ]
9
  args: [ --fix ]
10
  # Run the formatter.
11
  - id: ruff-format
 
5
  hooks:
6
  # Run the linter.
7
  - id: ruff-check
8
+ types_or: [ python, pyi, pyproject ]
9
  args: [ --fix ]
10
  # Run the formatter.
11
  - id: ruff-format
README.md CHANGED
@@ -20,10 +20,7 @@ marimo edit --watch
20
  ### Running Tests
21
 
22
  ```bash
23
- # Run testing in your regular python files
24
  uv run pytest tests
25
- # Running testing in your marimo notebooks
26
- uv run pytest notebooks
27
  ```
28
 
29
  ### Linting and formatting
 
20
  ### Running Tests
21
 
22
  ```bash
 
23
  uv run pytest tests
 
 
24
  ```
25
 
26
  ### Linting and formatting