File tree 3 files changed +9
-30
lines changed
3 files changed +9
-30
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
- - repo : https://github.com/psf/black
3
- rev : 24.10.0
4
- hooks :
5
- - id : black
6
- language_version : python3
7
- args :
8
- - --target-version=py38
9
2
- repo : https://github.com/astral-sh/ruff-pre-commit
10
- rev : v0.8.3
3
+ rev : v0.8.4
11
4
hooks :
12
5
- id : ruff
13
- - repo : https://github.com/PyCQA/isort
14
- rev : 5.13.2
15
- hooks :
16
- - id : isort
17
- language_version : python3
18
- - repo : https://github.com/asottile/pyupgrade
19
- rev : v3.19.0
20
- hooks :
21
- - id : pyupgrade
22
- args :
23
- - --py38-plus
24
- - repo : https://github.com/MarcoGorelli/absolufy-imports
25
- rev : v0.3.1
26
- hooks :
27
- - id : absolufy-imports
6
+ - id : ruff-format
Original file line number Diff line number Diff line change 8
8
"outputs" : [],
9
9
"source" : [
10
10
" # dask_histogram --> boost-histogram fillable with dask collections.\n " ,
11
- " import dask_histogram as dh \n " ,
11
+ " import boost_histogram as bh \n " ,
12
12
" import dask.array as da\n " ,
13
- " import boost_histogram as bh"
13
+ " \n " ,
14
+ " import dask_histogram as dh"
14
15
]
15
16
},
16
17
{
Original file line number Diff line number Diff line change @@ -83,11 +83,6 @@ include = ["/src"]
83
83
addopts = " -v"
84
84
testpaths = [" tests" ]
85
85
86
- [tool .isort ]
87
- profile = " black"
88
- line_length = 88
89
- src_paths = [" src" , " tests" ]
90
-
91
86
[tool .mypy ]
92
87
python_version = " 3.9"
93
88
files = [" src" , " tests" ]
@@ -108,6 +103,10 @@ ignore_missing_imports = true
108
103
[tool .pydocstyle ]
109
104
ignore = " D105"
110
105
106
+ [tool .ruff ]
107
+ line-length = 88
108
+ src = [" src" , " tests" ]
109
+
111
110
[tool .ruff .lint ]
112
111
ignore = [" E501" ]
113
112
per-file-ignores = {"__init__.py" = [" E402" , " F401" ]}
You can’t perform that action at this time.
0 commit comments