Skip to content

Commit 9352550

Browse files
committed
initial commit
0 parents  commit 9352550

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
*.py[c|o]
2+
.DS_Store
3+
*.sql
4+
*.bz2
5+
*~
6+
*.log
7+
*.json
8+
*.wsgi
9+
local_settings.py
10+
development_settings.py
11+
*.egg-info
12+
.project
13+
.pydevproject
14+
.settings
15+
versiontools*
16+
_build*
17+
doc/index.html
18+
/build/
19+
/dist/
20+
*.swp
21+
\#*
22+
.\#*
23+
.tox
24+
dump.rdb
25+
.idea
26+
.venv
27+
.coverage
28+
coverage.xml
29+
cobertura.xml
30+
31+
poetry.lock
32+
dist
33+
htmlcov
34+
test.sh
35+
test_*.sh
36+
37+
docs/build

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 24.8.0
4+
hooks:
5+
- id: black
6+
7+
- repo: https://github.com/astral-sh/ruff-pre-commit
8+
rev: v0.6.8
9+
hooks:
10+
- id: ruff

pyproject.toml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[tool.poetry]
2+
name = "sorl-thumbnail-avif"
3+
version = "0.1.0"
4+
description = "sorl-thumbnail avif plugin"
5+
authors = ["amirreza <[email protected]>"]
6+
license = "BSD-3-Caluse"
7+
readme = "README.md"
8+
classifiers=[
9+
'Development Status :: 5 - Production/Stable',
10+
'Environment :: Web Environment',
11+
'Intended Audience :: Developers',
12+
'License :: OSI Approved :: BSD License',
13+
'Operating System :: OS Independent',
14+
'Programming Language :: Python',
15+
'Programming Language :: Python :: 3.9',
16+
'Programming Language :: Python :: 3.10',
17+
'Programming Language :: Python :: 3.11',
18+
'Programming Language :: Python :: 3.12',
19+
'Programming Language :: Python :: 3.13',
20+
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
21+
'Topic :: Multimedia :: Graphics',
22+
'Framework :: Django',
23+
'Framework :: Django :: 4.2',
24+
'Framework :: Django :: 5.0',
25+
'Framework :: Django :: 5.1',
26+
]
27+
28+
[tool.poetry.urls]
29+
Homepage = "https://github.com/amirreza8002/sorl-thumbnail-avif"
30+
31+
[tool.poetry.dependencies]
32+
python = "^3.9"
33+
pillow-avif-plugin = "^1.4.6"
34+
pillow = "^11.0.0"
35+
sorl-thumbnail = "^12.11.0"
36+
37+
38+
[tool.poetry.group.dev.dependencies]
39+
pre-commit = "^4.0.1"
40+
black = "^24.10.0"
41+
ruff = "^0.8.1"
42+
43+
[build-system]
44+
requires = ["poetry-core"]
45+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)