imp
|
5e7eed610c
|
[mypy] Fix type annotations for strings (#4641)
* Fix mypy error for min_cost_string_conversion.py
* Fix mypy error for manacher.py
* Fix mypy error for aho_corasick.py
|
2021-08-25 13:35:36 +02:00 |
|
Eugeniy Orlov
|
2388bf4e17
|
Add type hints to strings/min_cost_string_conversion.py (#2337)
* done
* add types for local variables
* Revert "add types for local variables"
This reverts commit 971c15673b .
* rename variables
* Update strings/min_cost_string_conversion.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* rename strings
* use flake8
* Update strings/min_cost_string_conversion.py
Co-authored-by: Christian Clauss <cclauss@me.com>
|
2020-10-01 09:04:31 +08:00 |
|
Christian Clauss
|
9316e7c014
|
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>
|
2020-06-16 10:09:19 +02:00 |
|
William Zhang
|
9eac17a408
|
psf/black code formatting (#1277)
|
2019-10-05 10:14:13 +05:00 |
|
Christian Clauss
|
47a9ea2b0b
|
Simplify code by dropping support for legacy Python (#1143)
* Simplify code by dropping support for legacy Python
* sort() --> sorted()
|
2019-08-19 15:37:49 +02:00 |
|
Mickaël Schoentgen
|
2d70e9f747
|
Fix ResourceWarning: unclosed file (#681)
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
|
2019-01-08 16:59:23 +08:00 |
|
Alex Brown
|
91fccecb56
|
snake_case all the things
|
2018-10-19 17:14:25 -05:00 |
|