Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 2
updates:
- package-ecosystem: "pip"
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# Ruff:
.ruff_cache/
29 changes: 9 additions & 20 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
repos:
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.10.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
Expand All @@ -19,19 +9,18 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.4
rev: v0.11.4
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format

- repo: local
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.5.1
hooks:
- id: pytest
name: Run pytest
entry: make test
language: system
pass_filenames: false
always_run: true
- id: pyproject-fmt

ci:
skip: [pytest]
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.24.1
hooks:
- id: validate-pyproject
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

30 changes: 28 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,28 @@
[tool.isort]
profile = "black"
[project]
name = "programapi"
version = "2025.4.5"
description = "Programme API for EuroPython"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pydantic>=2.11.2",
"python-dotenv>=1.1",
"python-slugify>=8.0.4",
"requests>=2.32.3",
"tqdm>=4.67.1",
]

[dependency-groups]
dev = [
"pre-commit>=4.2",
"pytest>=8.3.5",
"ruff>=0.11.4",
]

[tool.ruff]
lint.select = [ "I" ]
9 changes: 0 additions & 9 deletions requirements.in

This file was deleted.

72 changes: 0 additions & 72 deletions requirements.txt

This file was deleted.

430 changes: 430 additions & 0 deletions uv.lock

Large diffs are not rendered by default.

Loading