-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from nschloe/flit
Flit
- Loading branch information
Showing
5 changed files
with
42 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,39 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[project] | ||
name = "pytest_codeblocks" | ||
authors = [{name = "Nico Schlömer", email = "nico.schloemer@gmail.com"}] | ||
description = "Test code blocks in your READMEs" | ||
readme = "README.md" | ||
license = {file = "LICENSE.txt"} | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Framework :: Pytest", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
] | ||
dynamic = ["version"] | ||
requires-python = ">=3.7" | ||
dependencies = [ | ||
"pytest >= 6" | ||
] | ||
|
||
[project.urls] | ||
Code = "https://github.com/nschloe/pytest-codeblocks" | ||
Issues = "https://github.com/nschloe/pytest-codeblocks/issues" | ||
Funding = "https://github.com/sponsors/nschloe" | ||
|
||
[project.entry-points.pytest11] | ||
codeblocks = "pytest_codeblocks.plugin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.13.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
from . import plugin | ||
from .__about__ import __version__ | ||
from .main import CodeBlock, extract_from_buffer, extract_from_file | ||
|
||
__all__ = [ | ||
"CodeBlock", | ||
"extract_from_buffer", | ||
"extract_from_file", | ||
"plugin", | ||
"__version__", | ||
] |