Get a SQLite connection with proper timeout settings for parallel mode.
(db_file: Path)
| 22 | |
| 23 | |
| 24 | def _get_connection(db_file: Path) -> sqlite3.Connection: |
| 25 | """Get a SQLite connection with proper timeout settings for parallel mode.""" |
| 26 | return sqlite3.connect(db_file, timeout=SQLITE_TIMEOUT) |
| 27 | |
| 28 | |
| 29 | def has_features(project_dir: Path) -> bool: |
no test coverage detected