File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,34 +11,34 @@ repos:
1111 - id : requirements-txt-fixer
1212 - id : double-quote-string-fixer
1313- repo : https://gitlab.com/pycqa/flake8
14- rev : 3.7.9
14+ rev : 3.8.0
1515 hooks :
1616 - id : flake8
1717 additional_dependencies : [flake8-typing-imports==1.7.0]
1818- repo : https://github.com/pre-commit/mirrors-autopep8
19- rev : v1.5
19+ rev : v1.5.2
2020 hooks :
2121 - id : autopep8
2222- repo : https://github.com/asottile/reorder_python_imports
23- rev : v1.9 .0
23+ rev : v2.3 .0
2424 hooks :
2525 - id : reorder-python-imports
2626 args : [--py3-plus]
2727- repo : https://github.com/asottile/pyupgrade
28- rev : v1.26.2
28+ rev : v2.4.1
2929 hooks :
3030 - id : pyupgrade
3131 args : [--py36-plus]
3232- repo : https://github.com/asottile/add-trailing-comma
33- rev : v1.5.0
33+ rev : v2.0.1
3434 hooks :
3535 - id : add-trailing-comma
3636 args : [--py36-plus]
3737- repo : https://github.com/asottile/setup-cfg-fmt
38- rev : v1.6 .0
38+ rev : v1.9 .0
3939 hooks :
4040 - id : setup-cfg-fmt
4141- repo : https://github.com/pre-commit/mirrors-mypy
42- rev : v0.761
42+ rev : v0.770
4343 hooks :
4444 - id : mypy
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ def create_schema(db: sqlite3.Connection) -> None:
172172
173173 for sql_file in schema_files :
174174 resource_filename = os .path .join (schema_dir , sql_file )
175- with open (resource_filename , 'r' ) as resource :
175+ with open (resource_filename ) as resource :
176176 db .executescript (resource .read ())
177177
178178
You can’t perform that action at this time.
0 commit comments