mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-24 19:29:32 +00:00
re-apply ruff TCH rules
This commit is contained in:
1 parent
d93afffbc3
commit
7bd79d1d55
63 files changed
+288
-88
No files matched your search
+4
-1
@@ -2,12 +2,15 @@ import logging
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import psutil
|
||||
|
||||
from sith import settings
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def get_pid_file(procfile: Path) -> Path:
|
||||
"""Get the PID file associated with a procfile"""
|
||||
|
||||
Reference in new issue
Block a user