Skip to content

Commit

Permalink
Merge pull request #53 from ibLeDy/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ibLeDy authored Jan 13, 2025
2 parents f0595b6 + ca29224 commit d754828
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand All @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand All @@ -59,7 +59,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand Down
18 changes: 8 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
Expand All @@ -30,9 +31,6 @@ repos:
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: fix-encoding-pragma
args:
- "--remove"
- id: mixed-line-ending
- id: name-tests-test
- id: pretty-format-json
Expand All @@ -42,7 +40,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.14.0
hooks:
- id: reorder-python-imports

Expand All @@ -54,13 +52,13 @@ repos:
- "--py36-plus"

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.4
rev: v1.5.5
hooks:
- id: remove-crlf
- id: remove-tabs

- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
rev: v2.7.0
hooks:
- id: setup-cfg-fmt
args:
Expand All @@ -77,14 +75,14 @@ repos:
- id: text-unicode-replacement-char

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.10.0
hooks:
- id: black
args:
- "--skip-string-normalization"

- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
args:
Expand All @@ -96,7 +94,7 @@ repos:
- id: yesqa

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.12-slim-bullseye
FROM python:3.13-slim-bullseye

ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED=1

LABEL maintainer="deejaynof@gmail.com"

Expand Down
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name = "timezone-converter"
version = "0.14.0"
description = "Compare your local timezone with foreign ones."
license = "MIT"
license-files = { paths = ["LICENSE"] }
license-files = ["LICENSE"]
readme = "README.md"
authors = [
{ name = "Iago Alonso", email = "deejaynof@gmail.com" },
Expand All @@ -24,21 +24,20 @@ classifiers = [
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Terminals",
"Topic :: Utilities",
"Typing :: Typed",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"importlib-metadata",
"pytz>=2023.3.post1",
"rich>=13.6.0",
"pytz>=2024.1",
"rich>=13.9.4",
]

[project.scripts]
Expand Down Expand Up @@ -80,16 +79,16 @@ plugins = "covdefaults"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311, py312
envlist = py39, py310, py311, py312, py313
isolated_build = True
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[testenv]
commands =
Expand Down

0 comments on commit d754828

Please sign in to comment.