Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🍼 [WIP] [Padawan contrib] Existing linters update #9070

Open
wants to merge 39 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7802527
Linters update
Smartappli Jul 20, 2024
5b603f0
linters update
Smartappli Jul 20, 2024
8bc75ac
Update ruff.toml
Smartappli Jul 20, 2024
bace191
Update ruff.toml
Smartappli Jul 20, 2024
cc1376d
ignore temporary some codes
Smartappli Jul 20, 2024
2ebdb0b
remove unnecessary noqa F821
Smartappli Jul 20, 2024
55c7c26
revert
Smartappli Jul 20, 2024
187f653
Update datasite_client.py
Smartappli Jul 20, 2024
79be9f3
Update 05-custom-policy.ipynb
Smartappli Jul 20, 2024
80c52ef
Update 05-custom-policy.ipynb
Smartappli Jul 20, 2024
46d8ca5
lint RUF015
Smartappli Jul 20, 2024
f28fece
revert
Smartappli Jul 20, 2024
4e6100f
revert
Smartappli Jul 20, 2024
8d9eb77
Update 05-custom-policy.ipynb
Smartappli Jul 20, 2024
751e8e2
Update 05-custom-policy.ipynb
Smartappli Jul 20, 2024
3ccea38
Update ruff.toml
Smartappli Jul 20, 2024
5f6f727
Lint
Smartappli Jul 20, 2024
75e2d41
Update tox.ini
Smartappli Jul 20, 2024
373452d
Update tox.ini
Smartappli Jul 20, 2024
982d47a
Lint
Smartappli Jul 20, 2024
d5aac4f
Update ruff to version 0.5.4
Smartappli Jul 24, 2024
a06b1f0
Update .pre-commit-config.yaml
Smartappli Jul 24, 2024
dee14cf
Merge branch 'dev' into padawan-contrib-10
Smartappli Jul 24, 2024
03096d0
Update ruff to version 0.5.5
Smartappli Jul 26, 2024
43cbb03
Update ruff to version 0.5.5
Smartappli Jul 26, 2024
03a19cd
Merge branch 'dev' into padawan-contrib-10
Smartappli Jul 27, 2024
b0ca6c6
Merge branch 'dev' into padawan-contrib-10
Smartappli Jul 30, 2024
268bdb0
Merge branch 'dev' into padawan-contrib-10
Smartappli Jul 31, 2024
816b487
Update mypy to version 0.11.1
Smartappli Jul 31, 2024
d3aaf86
Update setup.cfg
Smartappli Jul 31, 2024
f43ddf6
Merge branch 'dev' into padawan-contrib-10
Smartappli Jul 31, 2024
f6dd566
Update .pre-commit-config.yaml
Smartappli Aug 14, 2024
188fa4e
Update setup.cfg
Smartappli Aug 14, 2024
7efe342
Merge branch 'dev' into padawan-contrib-10
Smartappli Aug 14, 2024
dd47228
Update .pre-commit-config.yaml
Smartappli Aug 19, 2024
225e10b
Merge branch 'dev' into padawan-contrib-10
Smartappli Aug 19, 2024
fdd9974
Update .pre-commit-config.yaml
Smartappli Aug 23, 2024
db06e14
Update setup.cfg
Smartappli Aug 23, 2024
64f0490
Update mypy to version 0.11.2
Smartappli Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
exclude: ^(packages/syft/tests/mongomock)
Expand Down Expand Up @@ -84,7 +84,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.4.7"
rev: "v0.6.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand All @@ -94,7 +94,7 @@ repos:
types_or: [python, pyi, jupyter]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.2
hooks:
- id: mypy
name: "mypy: syft-cli"
Expand All @@ -119,7 +119,7 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.2
hooks:
- id: mypy
name: "mypy: grid"
Expand All @@ -144,7 +144,7 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.11.2
hooks:
- id: mypy
name: "mypy: syft"
Expand Down
8 changes: 4 additions & 4 deletions packages/syft/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ data_science =
dev =
%(test_plugins)s
%(telemetry)s
bandit==1.7.8
debugpy==1.8.2
bandit==1.7.9
debugpy==1.8.5
importlib-metadata==7.1.0
isort==5.13.2
mypy==1.10.0
mypy==1.11.1
pre-commit==3.7.1
ruff==0.4.7
ruff==0.6.2
safety>=2.4.0b2

telemetry =
Expand Down
7 changes: 7 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ select = [
ignore = [
"B904", # check for raise statements in exception handlers that lack a from clause
"B905", # zip() without an explicit strict= parameter
"E721", # must be removed before merge
"RUF003", # must be removed before merge
"RUF005", # must be removed before merge
"RUF012",
"RUF013",
"RUF015", # must be removed before merge
"RUF018", # must be removed before merge
]

[lint.per-file-ignores]
Expand Down
Loading