File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 pip install -e ".[dev]"
3333
3434 - name : Lint with ruff
35- run : pip install ruff && ruff check src/ --target-version py310
35+ run : pip install ruff && ruff check src/ tests/ --target-version py310
3636 - name : Run tests
3737 run : |
3838 python -m pytest tests/ -v --cov=schemaforge --cov-report=term-missing
Original file line number Diff line number Diff line change 77
88import sys
99import tempfile
10- from pathlib import Path
11-
12- import pytest
1310from click .testing import CliRunner
11+ from pathlib import Path
1412
1513sys .path .insert (0 , str (Path (__file__ ).parent .parent / "src" ))
1614
@@ -370,7 +368,7 @@ def test_check_directory_with_type_map(self):
370368 Path (tmpdir , "schema.sql" ).write_text (SAMPLE_SQL )
371369 Path (tmpdir , "schema.prisma" ).write_text (SAMPLE_PRISMA )
372370
373- result = runner .invoke (main , [
371+ runner .invoke (main , [
374372 "check" ,
375373 "--dir" , tmpdir ,
376374 "--type-map" , str (type_map ),
You can’t perform that action at this time.
0 commit comments