Skip to content

Commit

Permalink
Merge branch 'main' into skip-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Oct 31, 2024
2 parents abbe10a + b24e4bf commit a22321d
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 65 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: pip install -r requirements-dev.txt
run: pip install -U tox
- name: Run tests and type checking
run: tox
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include tests *
3 changes: 0 additions & 3 deletions mypy.ini

This file was deleted.

41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[build-system]
requires = [ "setuptools >=61", "wheel" ]
build-backend = "setuptools.build_meta"

[project]
name = "pytest-beartype"
version = "0.1.1"
description = "Pytest plugin to run your tests with beartype checking enabled."
authors = [ { name = "Tushar Sadhwani", email = "tushar.sadhwani000@gmail.com" } ]
readme = "README.md"
requires-python = ">=3.8"
urls.Source = "https://github.com/tusharsadhwani/pytest-beartype"
license = { text = "MIT" }
classifiers = [
"Framework :: Pytest",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
]
dependencies = [ "beartype", "pytest" ]
optional-dependencies.dev = [ "black", "mypy", "pytest-cov", "tox" ]
entry-points.pytest11.pytest_beartype = "pytest_beartype"

[tool.setuptools]
package-data = { "*" = [ "py.typed" ] }
packages.find.where = [ "./src" ]

[tool.pytest.ini_options]
addopts = [ "--cov", "--cov-report=term-missing" ]

[tool.mypy]
strict = true
exclude = "venv|build"
1 change: 0 additions & 1 deletion requirements-dev.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

53 changes: 0 additions & 53 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist = py38,py39,py310,py311,py312,py312-type
skip_missing_interpreters = true

[testenv]
deps = -rrequirements-dev.txt
deps = .[dev]
commands = pytest

[testenv:py312-type]
Expand Down

0 comments on commit a22321d

Please sign in to comment.