Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
*.pyc
/env/
/.idea/
/venv/
*.egg-info
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Next, configure your local environment with virtualenv and install local depende
```bash
python3 -m venv env
source env/bin/activate
pip install -r dev_requirements.txt
pip install -e '.[dev]'
```

Create a database for the application:
Expand Down
5 changes: 0 additions & 5 deletions dev_requirements.txt

This file was deleted.

1 change: 1 addition & 0 deletions pgcommitfest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.1.0"
34 changes: 29 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
[tool.ruff]
# line-length = 120
[project]
name = "pgocmmitfest"
description = "Commitfest app for the PostgreSQL community"
dynamic = ["version"]
readme = "README.md"
license = "PostgreSQL"
dependencies = [
"django>=4.2,<5.0",
"psycopg2",
"simplejson",
"requests",
"pycryptodomex",
]

[project.optional-dependencies]
dev = [
"uwsgi",
"pycodestyle",
"ruff",
"djhtml",
]

[tool.setuptools.packages.find]
include = ["pgcommitfest*"]

[tool.ruff.format]
# quote-style = "preserve"
[tool.pycodestyle]
statistics = true
ignore = ["E402", "E501", "W503"]
max-line-length = 120

[tool.ruff.lint]
extend-select = ["I"]
Expand All @@ -19,4 +43,4 @@ section-order = [

[tool.ruff.lint.isort.sections]
# Group all Django imports into a separate section.
"django" = ["django"]
django = ["django"]
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

4 changes: 0 additions & 4 deletions setup.cfg

This file was deleted.