Skip to content

Commit c6b5656

Browse files
authored
Pre commit autoupdate (webpy#741)
* pre-commit autoupdate * pre-commit run --all-files * codespell -w ChangeLog.txt web/application.py
1 parent 6393f35 commit c6b5656

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
default_language_version:
2-
python: python3.7
1+
# default_language_version:
2+
# python: python3.7
33
repos:
44
- repo: https://github.com/python/black
5-
rev: stable
5+
rev: 22.10.0
66
hooks:
77
- id: black
88
- repo: https://gitlab.com/pycqa/flake8
9-
rev: '3.7.9' # pick a git hash / tag to point to
9+
rev: '3.9.2' # pick a git hash / tag to point to
1010
hooks:
1111
- id: flake8
1212
args: [--count, "--ignore=E203,E265,E722,E731,W503", --max-line-length=477, --show-source, --statistics]

ChangeLog.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Major changes since 0.39:
9191
* Fixed failing tests in test/session.py when postgres is not installed. (tx Michael Diamond)
9292
* Fixed an error with Python 2.3 (tx Michael Diamond)
9393
* web.database now accepts a URL, $DATABASE_URL (fixes #171) (tx Aaron Swartz, we miss you)
94-
* support port use 'port' as keyword for postgres database with used eith pgdb (tx Sandesh Singh)
94+
* support port use 'port' as keyword for postgres database with used with pgdb (tx Sandesh Singh)
9595
* Fixes to FirebirdDB database (tx Ben Hanna)
9696
* Added a gaerun method to start application for google app engine (tx Matt Habel)
9797
* Better error message from `db.multiple_insert` when not all rows have the same keys (tx Ben Hoyt)
@@ -117,7 +117,7 @@ Major changes since 0.39:
117117
* Fixed Python 2.4 compatibility issues (tx fredludlow)
118118
* Fixed error in utils.safewrite (tx shuge) -- #95
119119
* Allow use of web.data() with app.request() -- #105
120-
* Fixed an issue with session initializaton (tx beardedprojamz) -- #109
120+
* Fixed an issue with session initialization (tx beardedprojamz) -- #109
121121
* Allow custom message on 400 Bad Request (tx patryk) -- #121
122122
* Made djangoerror work on GAE. -- #80
123123
* Handle malformatted data in the urls. -- #117

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
master_doc = "index"
4141

4242
# General information about the project.
43-
project = u"web.py"
44-
copyright = u""
43+
project = "web.py"
44+
copyright = ""
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
@@ -191,7 +191,7 @@
191191
# (source start file, target name, title,
192192
# author, documentclass [howto, manual, or own class]).
193193
latex_documents = [
194-
("index", "webpy.tex", u"web.py Documentation", u"Anand Chitipothu", "manual")
194+
("index", "webpy.tex", "web.py Documentation", "Anand Chitipothu", "manual")
195195
]
196196

197197
# The name of an image file (relative to this directory) to place at the top of
@@ -219,7 +219,7 @@
219219

220220
# One entry per manual page. List of tuples
221221
# (source start file, name, description, authors, manual section).
222-
man_pages = [("index", "webpy", u"web.py Documentation", [u"Anand Chitipothu"], 1)]
222+
man_pages = [("index", "webpy", "web.py Documentation", ["Anand Chitipothu"], 1)]
223223

224224
# If true, show URL addresses after external links.
225225
# man_show_urls = False
@@ -234,8 +234,8 @@
234234
(
235235
"index",
236236
"webpy",
237-
u"web.py Documentation",
238-
u"Anand Chitipothu",
237+
"web.py Documentation",
238+
"Anand Chitipothu",
239239
"webpy",
240240
"One line description of project.",
241241
"Miscellaneous",

web/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def peep(iterator):
307307
return itertools.chain([firstchunk], iterator)
308308

309309
def wsgi(env, start_resp):
310-
# clear threadlocal to avoid inteference of previous requests
310+
# clear threadlocal to avoid interference of previous requests
311311
self._cleanup()
312312

313313
self.load(env)

0 commit comments

Comments
 (0)