Skip to content

Commit

Permalink
Remove working directory reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user committed Mar 4, 2025
1 parent a891736 commit 8c09c03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ jobs:
runs-on: thevickypedia-lite
steps:
- uses: actions/checkout@v4
- run: python dependencies.py
working-directory: dev_scripts
- run: python dev_scripts/dependencies.py
shell: bash
1 change: 0 additions & 1 deletion dev_scripts/__init__.py

This file was deleted.

6 changes: 3 additions & 3 deletions dev_scripts/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from typing import Any, Callable, Dict, Iterable, List
from urllib.error import HTTPError

from dev_scripts.display import echo
from dev_scripts.version import Version
from display import echo
from version import Version

logger = logging.getLogger(__name__)
handler = logging.StreamHandler()
Expand Down Expand Up @@ -189,7 +189,7 @@ def entrypoint():
)

for versioned in versioned_requirements:
if not versioned.current_version:
if all((not gha, not versioned.current_version)):
try:
version = distribution(versioned.package_name)
except PackageNotFoundError:
Expand Down

0 comments on commit 8c09c03

Please sign in to comment.