Skip to content

Commit be2a78e

Browse files
committed
More cleanup and prep
1 parent cfe7458 commit be2a78e

File tree

5 files changed

+40
-22
lines changed

5 files changed

+40
-22
lines changed

.flake8

Lines changed: 0 additions & 17 deletions
This file was deleted.

puremagic/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/usr/bin/env python
22
from puremagic.main import command_line_entry
3+
4+
command_line_entry()

puremagic/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from puremagic.scanners import zip_scanner, pdf_scanner, text_scanner, json_scanner, python_scanner
2424

2525
__author__ = "Chris Griffith"
26-
__version__ = "2.0.0b3"
26+
__version__ = "2.0.0b4"
2727
__all__ = [
2828
"magic_file",
2929
"magic_string",

pyproject.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ classifiers = [
2727

2828
dynamic = [ "version" ]
2929
urls.Homepage = "https://github.com/cdgriffith/puremagic"
30-
scripts.fastflix = "puremagic.__main__:command_line_entry"
30+
scripts.puremagic = "puremagic.main:command_line_entry"
3131

3232
[dependency-groups]
3333
dev = [
3434
"coverage>=7.9.2",
35+
"poethepoet>=0.36.0",
3536
"pre-commit>=4.2",
3637
"pytest>=8.4.1",
3738
"pytest-cov>=6.2.1",
@@ -99,3 +100,11 @@ format.docstring-code-line-length = "dynamic"
99100
format.docstring-code-format = true
100101
lint.fixable = [ "F541" ]
101102
lint.unfixable = [ "F401" ]
103+
104+
[tool.poe]
105+
executor.type = "uv"
106+
107+
[tool.poe.tasks]
108+
test = "pytest --cov=puremagic test/"
109+
lint = "ruff check --fix"
110+
format = "ruff format"

uv.lock

Lines changed: 27 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)