We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afff3b1 commit b16a02cCopy full SHA for b16a02c
1 file changed
plain_file.py
@@ -629,7 +629,11 @@ def plain_file_parser( # noqa: C901
629
f"Invalid plain file extension: {plain_source_file_path.suffix}. Expected: {PLAIN_SOURCE_FILE_EXTENSION}."
630
)
631
632
- module_name = plain_source_file_path.stem
+ module_name = (
633
+ plain_source_file_path.stem
634
+ if plain_source_file_path.is_absolute()
635
+ else plain_source_file_path.with_suffix("").as_posix()
636
+ )
637
638
code_variables = {}
639
0 commit comments