Skip to content

Commit 93bdd81

Browse files
committed
Update project configuration and ignore files
- Refactor author entries in `pyproject.toml` to use a structured format. - Add repository URL under `[project.urls]` in `pyproject.toml`. - Include `pytest` as a development dependency in `pyproject.toml`. - Add pytest configuration options for test discovery and output format. - Update `.gitignore` to include `.vscode/` and ensure `.scrap-history` is properly listed.
1 parent 84a2bf6 commit 93bdd81

3 files changed

Lines changed: 325 additions & 5 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,7 @@ dmypy.json
5252
.DS_Store
5353

5454
# Scrapscript
55-
.scrap-history
55+
.scrap-history
56+
57+
# VS Code
58+
.vscode/

pyproject.toml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
authors = [
3-
"Max Bernstein <python@bernsteinbear.com>",
4-
"Chris Gregory <christopher.b.gregory@gmail.com>",
3+
{ name = "Max Bernstein", email = "python@bernsteinbear.com" },
4+
{ name = "Chris Gregory", email = "christopher.b.gregory@gmail.com" },
55
]
66
classifiers = [
77
"Intended Audience :: Developers",
@@ -17,12 +17,14 @@ keywords = ["scrapscript", "interpreter"]
1717
license = "MIT"
1818
name = "scrapscript"
1919
readme = "README.md"
20-
repository = "https://github.com/tekknolagi/scrapscript"
2120
version = "0.1.1"
2221
requires-python = ">=3.8"
2322

23+
[project.urls]
24+
repository = "https://github.com/tekknolagi/scrapscript"
25+
2426
[tool.uv]
25-
dev-dependencies = ["mypy~=1.10.0", "pylint~=3.2.0", "ruff~=0.5.0"]
27+
dev-dependencies = ["mypy~=1.10.0", "pylint~=3.2.0", "ruff~=0.5.0", "pytest~=8.0.0"]
2628

2729
[tool.mypy]
2830
disallow_incomplete_defs = true
@@ -52,3 +54,8 @@ line-length = 120
5254

5355
[tool.ruff.lint]
5456
ignore = ["E741"]
57+
58+
[tool.pytest.ini_options]
59+
testpaths = ["."]
60+
python_files = ["*_tests.py"]
61+
addopts = "-v --tb=short"

0 commit comments

Comments
 (0)