File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.1.9
3+ rev : v0.2.1
44 hooks :
55 - id : ruff
66 - id : ruff-format
1212 - id : isort
1313
1414 - repo : https://github.com/psf/black-pre-commit-mirror
15- rev : 23.12 .1
15+ rev : 24.1 .1
1616 hooks :
1717 - id : black
1818
@@ -27,11 +27,11 @@ repos:
2727 - id : trailing-whitespace
2828
2929 - repo : https://github.com/tox-dev/pyproject-fmt
30- rev : 1.5.3
30+ rev : 1.7.0
3131 hooks :
3232 - id : pyproject-fmt
3333
3434 - repo : https://github.com/abravalheri/validate-pyproject
35- rev : v0.15
35+ rev : v0.16
3636 hooks :
3737 - id : validate-pyproject
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def parse_args() -> argparse.Namespace:
3636 args .prefix = re .sub ("[^0-9a-zA-Z]+" , "_" , args .prefix )
3737 args .source : List [Union [int , str ],] = [[0 ]] if args .source is None else args .source
3838 args .source = [item for sublist in args .source for item in sublist ]
39+ args .source = list (set (args .source ))
3940 return args
4041
4142
You can’t perform that action at this time.
0 commit comments