Skip to content

Commit

Permalink
fix(__version__): use rstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
acostapazo committed Sep 5, 2023
1 parent 010c564 commit 5cca246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
max-parallel: 4
matrix:
os: [ macOS-latest, ubuntu-latest ]
python-version: [3.7, 3.8, 3.9]
python-version: ['3.9', '3.10', '3.11']
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion alice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
ROOT_PATH = os.path.abspath(os.path.dirname(__file__))

with open(f"{ROOT_PATH}/VERSION") as f:
__version__ = f.read()[:-1]
__version__ = f.read().rstrip()

__all__ = public_api.__all__

0 comments on commit 5cca246

Please sign in to comment.