Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ar90n committed Apr 9, 2023
2 parents 6905888 + 3c88f3d commit f3d623c
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 294 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ["3.10"]
python-version: ["3.11"]
# Timeout: https://stackoverflow.com/a/59076067/4521646
timeout-minutes: 35

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Set up poetry
run: |
curl -sSL https://install.python-poetry.org | python
Expand Down
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

default_language_version:
python: python3.10
python: python3.11

ci:
autofix_prs: true
Expand Down Expand Up @@ -54,7 +54,7 @@ repos:
- id: nbstripout

- repo: https://github.com/PyCQA/docformatter
rev: v1.5.1
rev: v1.6.0
hooks:
- id: docformatter
args: [--in-place, --wrap-summaries=115, --wrap-descriptions=120]
Expand All @@ -70,7 +70,6 @@ repos:
hooks:
- id: blacken-docs
args: [ --line-length=120, --skip-errors ]
additional_dependencies: [ black==21.10b0 ]

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
Expand Down
20 changes: 10 additions & 10 deletions examples/simple_counter/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/simple_counter/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
packages = [{include = "simple_counter"}]

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11"
alfort = {path = "../.."}


Expand Down
507 changes: 234 additions & 273 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ include = ["alfort/py.typed"]


[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11"

[tool.poetry.group.dev.dependencies]
poethepoet = "^0.18.0"
poethepoet = "^0.19.0"
pyright = "^1.1.238"
pytest = "^7.1.1"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.0.0"
pytest-black = "^0.3.12"
pre-commit = "^2.18.1"
pre-commit = "^3.0.0"
isort = "^5.10.1"
flake8 = "^6.0.0"
commitizen = "^2.35.0"
Expand All @@ -38,7 +38,7 @@ stubPath ="stubs"
typeCheckingMode = "strict"
reportMissingImports = true
reportMissingTypeStubs = false
pythonVersion = "3.10"
pythonVersion = "3.11"
pythonPlatform = "Linux"

[tool.pytest.ini_options]
Expand Down

0 comments on commit f3d623c

Please sign in to comment.