Python/conversions
Christian Clauss 4b79d771cd
Add more ruff rules (#8767)
* Add more ruff rules

* Add more ruff rules

* pre-commit: Update ruff v0.0.269 -> v0.0.270

* Apply suggestions from code review

* Fix doctest

* Fix doctest (ignore whitespace)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-05-26 09:34:17 +02:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
astronomical_length_scale_conversion.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
binary_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_to_hexadecimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_to_octal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
decimal_to_any.py fix: mypy 0.991 issues (#7988) 2022-11-15 18:29:14 +01:00
decimal_to_binary_recursion.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
decimal_to_binary.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
decimal_to_hexadecimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
decimal_to_octal.py fix(mypy): type annotations for conversions algorithms (#4314) 2021-04-04 15:25:49 +02:00
excel_title_to_column.py Add Microsoft Excel Column Title to Column Number Conversion (#4849) 2022-05-24 09:18:50 +08:00
hex_to_bin.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
hexadecimal_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
length_conversion.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
molecular_chemistry.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
octal_to_decimal.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
prefix_conversions_string.py Correct ruff failures (#8732) 2023-05-14 22:03:13 +01:00
prefix_conversions.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
pressure_conversions.py refactor: Replace doctest traceback with ... (#7558) 2022-10-23 16:36:10 +02:00
README.md Add README files 2/8 (#5766) 2021-11-11 21:39:54 +08:00
rgb_hsv_conversion.py Correct ruff failures (#8732) 2023-05-14 22:03:13 +01:00
roman_numerals.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
speed_conversions.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
temperature_conversions.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
volume_conversions.py Doctest output simpler version (#7116) 2022-10-14 17:47:39 +02:00
weight_conversion.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00

Conversion

Conversion programs convert a type of data, a number from a numerical base or unit into one of another type, base or unit, e.g. binary to decimal, integer to string or foot to meters.