mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Set the Python file maximum line length to 88 characters (#2122)
* flake8 --max-line-length=88 * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -6,7 +6,8 @@ def ceil(x) -> int:
|
||||
:return: the smallest integer >= x.
|
||||
|
||||
>>> import math
|
||||
>>> all(ceil(n) == math.ceil(n) for n in (1, -1, 0, -0, 1.1, -1.1, 1.0, -1.0, 1_000_000_000))
|
||||
>>> all(ceil(n) == math.ceil(n) for n
|
||||
... in (1, -1, 0, -0, 1.1, -1.1, 1.0, -1.0, 1_000_000_000))
|
||||
True
|
||||
"""
|
||||
return (
|
||||
|
Reference in New Issue
Block a user