Return True for Dockerfile variants (matched by name, not extension).
(path: Path)
| 158 | |
| 159 | |
| 160 | def is_dockerfile(path: Path) -> bool: |
| 161 | """Return True for Dockerfile variants (matched by name, not extension).""" |
| 162 | return path.name == "Dockerfile" or path.name.startswith("Dockerfile.") |
| 163 | |
| 164 | |
| 165 | def get_comment_style(path: Path) -> str | None: |
no outgoing calls
no test coverage detected