Skip to content

Commit

Permalink
Merge pull request #49 from AFM-SPM/ns-rse/47-pyproject-maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-rse authored May 8, 2024
2 parents 96d3f17 + 1ca0268 commit 94485e3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Upgrade pip and install test dependencies
run: |
pip install --upgrade pip
pip install -e .[dev]
pip install -e .[dev,tests]
- name: Test with pytest
run: |
pytest --cov=AFMReader -x
Expand Down
18 changes: 13 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ authors = [
]
description = "Read and retrieve data from various AFM file formats."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

keywords = [
Expand All @@ -45,13 +45,21 @@ dependencies = [
[project.optional-dependencies]
dev = [
"black",
"pytest",
"pytest-cov",
"pre-commit",
"pylint",
"ruff",
"setuptools_scm[toml]",
"wheel"
]
pypi = [
"build",
"setuptools_csm[toml]",
"wheel",
]
tests = [
"pytest",
"pytest-cov",
]

[project.urls]
"Homepage" = "https://github.com/AFM-SPM/AFMReader"
Expand All @@ -74,7 +82,7 @@ filterwarnings = [

[tool.black]
line-length = 120
target-version = ['py38']
target-version = ['py39']
exclude = '''
(
Expand Down

0 comments on commit 94485e3

Please sign in to comment.