Skip to content

Commit

Permalink
chore(package): Add poetry.lock again to the repo (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Feb 6, 2024
1 parent 115350e commit 69ec1f9
Show file tree
Hide file tree
Showing 7 changed files with 2,895 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
auto-update-conda: true
conda-solver: libmamba

- name: Check Poetry lock
run: poetry check

- name: Install dependencies
run: |
poetry config virtualenvs.create false
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,3 @@ dmypy.json

# Pyre type checker
.pyre/

# poetry: remove poetry.lock in order to avoid issues in the installation
poetry.lock
3 changes: 3 additions & 0 deletions conda/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ dependencies:
- pip:
# note: workaround ci issue for macos
- setuptools >= 40.8.0
- wheel >=0.42.0
# fix the distlib issue
- paginate >=0.5
4 changes: 4 additions & 0 deletions conda/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ dependencies:
- python >=3.8.1,<3.12 # min version supported
- poetry >=1.5
- nodejs >=18.17 # used by semantic-release
- pip
- pip:
# fix the distlib issue
- paginate >=0.5
2,882 changes: 2,882 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ select = [
"I002", # isort
]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "numpy"

[tool.ruff.isort]
[tool.ruff.lint.isort]
# Use a single line between direct and from import
lines-between-types = 1

Expand Down
2 changes: 1 addition & 1 deletion src/makim/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def _run_command(self, args: dict):
args_input[k_clean] = default

input_flag = f'--{k}'
if input_flag in args and args[input_flag]:
if args.get(input_flag):
if action == 'store_true':
args_input[k_clean] = (
True if args[input_flag] is None else args[input_flag]
Expand Down

0 comments on commit 69ec1f9

Please sign in to comment.