Skip to content

Commit

Permalink
Merge pull request #58 from kurtmckee/updates
Browse files Browse the repository at this point in the history
Update tool versions and configuration files
  • Loading branch information
kurtmckee authored Nov 15, 2024
2 parents dfdf8bb + ed57678 commit 5a1e417
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- "pyproject.toml"
- "requirements/*/*.txt"

uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@420931a88d3f09ca8dbce4778d145ed610c231e0" # v0.4
uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@2f156c58bf4ceebc623014b407f5711899e41235" # v1.0
with:
config: "${{ toJSON(matrix) }}"
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
- id: "check-useless-excludes"

- repo: "https://github.com/pre-commit/pre-commit-hooks"
rev: "v4.6.0"
rev: "v5.0.0"
hooks:
- id: "check-added-large-files"
- id: "check-merge-conflict"
Expand All @@ -31,15 +31,15 @@ repos:
exclude: "README.rst"

- repo: "https://github.com/asottile/pyupgrade"
rev: "v3.17.0"
rev: "v3.19.0"
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.9+ idioms"
args:
- "--py39-plus"

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

Expand All @@ -53,10 +53,10 @@ repos:
hooks:
- id: "flake8"
additional_dependencies:
- "flake8-bugbear==24.8.19"
- "flake8-bugbear==24.10.31"

- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.29.3"
rev: "0.29.4"
hooks:
- id: "check-dependabot"
- id: "check-github-workflows"
Expand Down
40 changes: 21 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"


# poetry
# ------

[tool.poetry]
name = "dotbot-firefox"
version = "1.1.0"
Expand All @@ -12,12 +20,8 @@ keywords = ["dotbot", "dotbot-plugin", "firefox", "dotfiles"]
python = ">=3.9"
dotbot = ">=1.20.1"

[build-system]
requires = ["poetry-core>=1.5.0"]
build-backend = "poetry.core.masonry.api"


# Coverage
# coverage
# --------

[tool.coverage.run]
Expand All @@ -39,7 +43,7 @@ source = [
fail_under = 100


# Mypy
# mypy
# ----

[tool.mypy]
Expand All @@ -55,7 +59,17 @@ module = [
ignore_missing_imports = true


# Scriv
# pytest
# ------

[tool.pytest.ini_options]
addopts = "--color=yes"
filterwarnings = [
"error",
]


# scriv
# -----

[tool.scriv]
Expand All @@ -68,15 +82,3 @@ categories = [
"Fixed",
"Development",
]


# Pytest
# ------

[tool.pytest.ini_options]
addopts = "--color=yes"
filterwarnings = [
"error",
# pyfakefs 5.6.0 on Python 3.13
"ignore:unclosed file:ResourceWarning:pyfakefs"
]
4 changes: 2 additions & 2 deletions requirements/mypy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mypy-extensions==1.0.0 ; python_version >= "3.9"
mypy==1.11.2 ; python_version >= "3.9"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.9"
mypy==1.13.0 ; python_version >= "3.9"
tomli==2.1.0 ; python_version < "3.11" and python_version >= "3.9"
typing-extensions==4.12.2 ; python_version >= "3.9"
12 changes: 6 additions & 6 deletions requirements/test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
colorama==0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
coverage[toml]==7.6.1 ; python_version >= "3.9"
coverage[toml]==7.6.7 ; python_version >= "3.9"
exceptiongroup==1.2.2 ; python_version < "3.11" and python_version >= "3.9"
importlib-metadata==8.5.0 ; python_version < "3.10" and python_version >= "3.9"
iniconfig==2.0.0 ; python_version >= "3.9"
packaging==24.1 ; python_version >= "3.9"
packaging==24.2 ; python_version >= "3.9"
pluggy==1.5.0 ; python_version >= "3.9"
pyfakefs==5.6.0 ; python_version >= "3.9"
pytest-randomly==3.15.0 ; python_version >= "3.9"
pyfakefs==5.7.1 ; python_version >= "3.9"
pytest-randomly==3.16.0 ; python_version >= "3.9"
pytest==8.3.3 ; python_version >= "3.9"
tomli==2.0.1 ; python_full_version <= "3.11.0a6" and python_version >= "3.9"
zipp==3.20.2 ; python_version < "3.10" and python_version >= "3.9"
tomli==2.1.0 ; python_full_version <= "3.11.0a6" and python_version >= "3.9"
zipp==3.21.0 ; python_version < "3.10" and python_version >= "3.9"

0 comments on commit 5a1e417

Please sign in to comment.