Skip to content

Commit

Permalink
DEV - Set traitlets application version (#981)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tania Allard <[email protected]>
  • Loading branch information
3 people authored Nov 18, 2024
1 parent 6725e2c commit 3df36fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class _Color(str, Enum):


class CondaStoreServer(Application):
version = __version__
aliases = {
"config": "CondaStoreServer.config_file",
}
Expand Down
2 changes: 2 additions & 0 deletions conda-store-server/conda_store_server/_internal/worker/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
from traitlets import Integer, List, Unicode, validate
from traitlets.config import Application, catch_config_error

from conda_store_server import __version__
from conda_store_server.app import CondaStore


class CondaStoreWorker(Application):
version = __version__
aliases = {
"config": "CondaStoreWorker.config_file",
}
Expand Down

0 comments on commit 3df36fa

Please sign in to comment.