Skip to content

Commit

Permalink
DX: switch to Python 3.9 in developer environment
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 20, 2024
1 parent 9030f87 commit f89efca
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tasks:
- init: pyenv local 3.8
- init: pyenv local 3.9
- init: pip install -e .[dev]

github:
Expand Down
37 changes: 18 additions & 19 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,25 @@ repos:
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/ComPWA/mirrors-taplo
rev: v0.8.1
hooks:
- id: taplo

- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort
args: [--in-place]
exclude: (?x)^(labels.*\.toml)$

- repo: https://github.com/ComPWA/policy
rev: 0.2.0
rev: 0.2.3
hooks:
- id: check-dev-files
args:
Expand Down Expand Up @@ -66,11 +83,6 @@ repos:
.*\.py
)$
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier

- repo: https://github.com/ComPWA/mirrors-pyright
rev: v1.1.345
hooks:
Expand All @@ -82,16 +94,3 @@ repos:
- id: ruff
args:
- --fix

- repo: https://github.com/ComPWA/mirrors-taplo
rev: v0.8.1
hooks:
- id: taplo

- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
hooks:
- id: toml-sort
args:
- --in-place
exclude: (?x)^(labels.*\.toml)$
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ formats:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"
jobs:
post_install:
- pip install -e .[doc]
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: bossdoc
channels:
- defaults
dependencies:
- python==3.8.*
- python==3.9.*
- pip
- pip:
- -e .[dev]
Expand Down

0 comments on commit f89efca

Please sign in to comment.