Skip to content

Commit

Permalink
replace 37c3 with 38c3
Browse files Browse the repository at this point in the history
  • Loading branch information
top-on committed Dec 12, 2024
1 parent 013934b commit 5b21322
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 23 deletions.
24 changes: 8 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@ repos:
args: [--fix=auto]
- id: trailing-whitespace
- id: check-added-large-files
- repo: local
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3 # keep in sync with pyproject.toml
hooks:
- id: ruff
name: ruff
entry: ruff
language: system
require_serial: true
types: [python]
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0 # keep in sync with pyproject.toml
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
require_serial: true
types: [python]
- id: pytest
name: pytest
entry: pytest tests/
language: system
types: [python]
additional_dependencies: [types-requests~=2.32, types-pytz~=2024.2]
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.2] - 2024-12-12
### Fixed
- Replace 37c3 with 38c3

## [1.0.1] - 2024-12-12
### Fixed
- Update README
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $ optimal-congress -h
Usage: optimal-congress [OPTIONS] COMMAND [ARGS]...
Optimize your personal schedule for the 37c3.
Optimize your personal schedule for the 38c3.
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --verbose -v Include debug messages in output. │
Expand Down Expand Up @@ -112,6 +112,9 @@ poetry run tox

## Long-term Roadmap

- add github action for pytest, ruff, and mypy
- add latest UI examples to README
- use rich table for `next` view
- output more/all information with associated events (see [feature request](https://github.com/top-on/optimal-congress/issues/3) and [example](https://www.willmcgugan.com/blog/tech/post/real-working-hyperlinks-in-the-terminal-with-rich/) for more compact hyperlinks with `rich`)
- change rating scheme, to minimize effort and maximize flexibility (see [feature request](https://github.com/top-on/optimal-congress/issues/4)),<br>
e.g. by first marking favorites, and only requiring relative ratings for conflicting favorites
Expand Down
5 changes: 3 additions & 2 deletions optimal_congress/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Main entry point for the 37c3 schedule optimizer."""
"""Main entry point for the schedule optimizer."""

# %%
import logging
import os
Expand Down Expand Up @@ -47,7 +48,7 @@ def users_callback(
help="Include debug messages in output.",
),
) -> None:
"""Optimize your personal schedule for the 37c3."""
"""Optimize your personal schedule for the 38c3."""
# set log level
log_level = logging.DEBUG if verbose else logging.INFO
logging.basicConfig(level=log_level, format="%(message)s")
Expand Down
1 change: 0 additions & 1 deletion optimal_congress/io/cache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""IO operations on local cache."""


import json

from optimal_congress.config import (
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = "https://github.com/top-on/optimal-congress"
name = "optimal-congress"
packages = [{include = "optimal_congress"}]
readme = "README.md"
version = "1.0.1"
version = "1.0.2"

[tool.poetry.dependencies]
pandas = "^2.2.3"
Expand All @@ -21,9 +21,9 @@ typer = {extras = ["all"], version = "^0.15.1"}# extras include rich
ipykernel = "^6.29.5"
notebook = "^7.0.7"
# linting
mypy = "^1.13.0"
mypy = "1.13.0" # keep in sync with .pre-commit-config.yaml
pre-commit = "^4.0.1"
ruff = "^0.8.3"
ruff = "0.8.3" # keep in sync with .pre-commit-config.yaml
# testing
pytest = "^7.4.3"
tox = "^4.11.4"
Expand Down

0 comments on commit 5b21322

Please sign in to comment.