File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches : ["main"]
55 pull_request :
6+ schedule :
7+ - cron : " 0 0 * * *"
68
79defaults :
810 run :
Original file line number Diff line number Diff line change 3636 - id : black
3737
3838 - repo : https://github.com/charliermarsh/ruff-pre-commit
39- rev : v0.0.165
39+ rev : v0.0.185
4040 hooks :
4141 - id : ruff
4242 args : ["--fix"]
Original file line number Diff line number Diff line change @@ -62,13 +62,6 @@ test = [
6262 " pytest-xdist[psutil]" ,
6363 " uvicorn"
6464]
65- lint = [
66- " black>=22.6.0" ,
67- " mdformat>0.7" ,
68- " mdformat-gfm>=0.3.5" ,
69- " ruff>=0.0.156"
70- ]
71- typing = [" mypy>=0.990" ]
7265
7366[project .scripts ]
7467jupyter-releaser = " jupyter_releaser.cli:main"
@@ -96,12 +89,19 @@ test = "python -m pytest -vv --cov jupyter_releaser --cov-branch --cov-report te
9689nowarn = " test -W default {args}"
9790
9891[tool .hatch .envs .typing ]
99- features = [" typing" , " test" ]
92+ features = [" test" ]
93+ dependencies = [" mypy>=0.990" ]
10094[tool .hatch .envs .typing .scripts ]
10195test = " mypy --install-types --non-interactive {args:jupyter_releaser}"
10296
10397[tool .hatch .envs .lint ]
104- features = [" lint" ]
98+ dependencies = [
99+ " black==22.10.0" ,
100+ " mdformat>0.7" ,
101+ " mdformat-gfm>=0.3.5" ,
102+ " ruff==0.0.185"
103+ ]
104+ detached = true
105105[tool .hatch .envs .lint .scripts ]
106106style = [
107107 " ruff {args:.}" ,
@@ -198,7 +198,7 @@ ignore = [
198198 # Line too long
199199 " E501" ,
200200 # Relative imports are banned
201- " I252 " ,
201+ " TID252 " ,
202202 # Boolean ... in function definition
203203 " FBT001" , " FBT002" ,
204204 # Module level import not at top of file
You can’t perform that action at this time.
0 commit comments