Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils-sfg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils-sfg
Commits
f283398e
Commit
f283398e
authored
3 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
code formatting
parent
3f572623
No related branches found
No related tags found
1 merge request
!22
Remove Inline Output Mode; Automate Inlining in Composer
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pystencilssfg/config.py
+2
-3
2 additions, 3 deletions
src/pystencilssfg/config.py
with
2 additions
and
3 deletions
src/pystencilssfg/config.py
+
2
−
3
View file @
f283398e
...
...
@@ -5,7 +5,6 @@ from argparse import ArgumentParser, BooleanOptionalAction
from
types
import
ModuleType
from
typing
import
Any
,
Sequence
,
Callable
from
dataclasses
import
dataclass
from
enum
import
Enum
,
auto
from
os
import
path
from
importlib
import
util
as
iutil
from
pathlib
import
Path
...
...
@@ -120,7 +119,7 @@ class SfgConfig(ConfigBase):
header_only
:
BasicOption
[
bool
]
=
BasicOption
(
False
)
"""
If set to `True`, generate only a header file.
This will cause all definitions to be generated ``inline``.
"""
...
...
@@ -192,7 +191,7 @@ class CommandLineParameters:
"
--sfg-header-only
"
,
action
=
BooleanOptionalAction
,
dest
=
"
header_only
"
,
help
=
"
Generate only a header file.
"
help
=
"
Generate only a header file.
"
,
)
config_group
.
add_argument
(
"
--sfg-config-module
"
,
type
=
str
,
default
=
None
,
dest
=
"
config_module_path
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment