-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(project-create): clean up one ruff PLR0912 and one PLR0913 (#772)
- Loading branch information
1 parent
0025784
commit 7902840
Showing
2 changed files
with
106 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/dsp_tools/commands/project/models/project_definition.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from dataclasses import dataclass | ||
|
||
|
||
@dataclass | ||
class ProjectDefinition: | ||
shortcode: str | ||
shortname: str | ||
longname: str | ||
keywords: list[str] | None = None | ||
descriptions: dict[str, str] | None = None | ||
groups: list[dict[str, str]] | None = None | ||
users: list[dict[str, str]] | None = None |