Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ repos:
exclude: tests/integration/conftest.py
- id: end-of-file-fixer
- id: trailing-whitespace
- id: flake8
args:
- --max-line-length=100
- --per-file-ignores=files/packit.wsgi:F401,E402
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.711
rev: v1.2.0
hooks:
- id: mypy
args: [--no-strict-optional, --ignore-missing-imports]
5 changes: 5 additions & 0 deletions ocp-stream-generator/ocp_stream_generator/stream_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
import yaml
import json
import sys

from pathlib import Path

sys.path.append(str(Path(__file__).parent.parent.absolute()))

from ocp_stream_generator.distribution_data import (
abbreviations,
images,
Expand Down
1 change: 0 additions & 1 deletion ocp-stream-generator/tests/test_imagestream_file.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3


from ocp_stream_generator.stream_generator import ImagestreamFile


Expand Down
Loading