Skip to content

Commit

Permalink
feat(Update dependencies and clean up.): (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
msoedov authored Mar 29, 2024
1 parent a514fa2 commit 35e0b0b
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
pip install poetry==1.7.1
- name: Build and publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 0 additions & 9 deletions mypy.ini

This file was deleted.

45 changes: 28 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 19 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ name = "philter-lite"
version = "0.4.0"
description = "Open-source PHI-filtering software. A fork of philter-ucsf."
readme = "README.md"
authors = ["Beau Norgeot <[email protected]>", "Tim Orme <[email protected]>"]
authors = [
"Beau Norgeot <[email protected]>",
"Tim Orme <[email protected]>",
]
license = "BSD-3-Clause"
classifiers=[
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -17,19 +19,28 @@ classifiers=[
]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
chardet = "^5.2.0"
nltk = "^3.5"
nltk = "^3.8.1"
xmltodict = "^0.13.0"
toml = "^0.10.0"

[tool.poetry.dev-dependencies]
pre-commit = "^3.3.3"
pytest = "^7.4.0"
pre-commit = "^3.7.0"
pytest = "^8.1.1"

[tool.poetry.scripts]
philter_lite = 'philter_lite.main:main'

[build-system]
requires = ["poetry_core>=1.6.0"]
requires = ["poetry_core>=1.8.1"]
build-backend = "poetry.core.masonry.api"


[tool.mypy]
check_untyped_defs = true
no_implicit_optional = true

[[tool.mypy.overrides]]
module = ["nltk", "nltk.*"]
ignore_missing_imports = true
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = typing,lint,py38,py39,py310,py311
envlist = typing,lint,py39,py310,py311
isolated_build = True

[testenv]
Expand Down

0 comments on commit 35e0b0b

Please sign in to comment.