Skip to content

Commit 33514f6

Browse files
committed
SDK regeneration
1 parent b92239c commit 33514f6

File tree

108 files changed

+1025
-2142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1025
-2142
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v3
9+
uses: actions/checkout@v4
1010
- name: Set up python
1111
uses: actions/setup-python@v4
1212
with:
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repo
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Set up python
2727
uses: actions/setup-python@v4
2828
with:
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Checkout repo
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
- name: Set up python
4747
uses: actions/setup-python@v4
4848
with:

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dist/
21
.mypy_cache/
2+
.ruff_cache/
33
__pycache__/
4+
dist/
45
poetry.toml
5-
.ruff_cache/

poetry.lock

Lines changed: 69 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "credal"
33

44
[tool.poetry]
55
name = "credal"
6-
version = "0.0.26"
6+
version = "0.0.27"
77
description = ""
88
readme = "README.md"
99
authors = []
@@ -41,13 +41,13 @@ pydantic = ">= 1.9.2"
4141
pydantic-core = "^2.18.2"
4242
typing_extensions = ">= 4.0.0"
4343

44-
[tool.poetry.dev-dependencies]
45-
mypy = "1.0.1"
44+
[tool.poetry.group.dev.dependencies]
45+
mypy = "==1.13.0"
4646
pytest = "^7.4.0"
4747
pytest-asyncio = "^0.23.5"
4848
python-dateutil = "^2.9.0"
4949
types-python-dateutil = "^2.9.0.20240316"
50-
ruff = "^0.5.6"
50+
ruff = "==0.11.5"
5151

5252
[tool.pytest.ini_options]
5353
testpaths = [ "tests" ]
@@ -59,6 +59,26 @@ plugins = ["pydantic.mypy"]
5959
[tool.ruff]
6060
line-length = 120
6161

62+
[tool.ruff.lint]
63+
select = [
64+
"E", # pycodestyle errors
65+
"F", # pyflakes
66+
"I", # isort
67+
]
68+
ignore = [
69+
"E402", # Module level import not at top of file
70+
"E501", # Line too long
71+
"E711", # Comparison to `None` should be `cond is not None`
72+
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
73+
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
74+
"E722", # Do not use bare `except`
75+
"E731", # Do not assign a `lambda` expression, use a `def`
76+
"F821", # Undefined name
77+
"F841" # Local variable ... is assigned to but never used
78+
]
79+
80+
[tool.ruff.lint.isort]
81+
section-order = ["future", "standard-library", "third-party", "first-party"]
6282

6383
[build-system]
6484
requires = ["poetry-core"]

0 commit comments

Comments
 (0)