Anki/pylib/anki
Damien Elmes fee486aaa1 PEP8 notes.py
An example of how we can start migrating the codebase to PEP8:

- enable invalid-name at the top
- use bazel run pylib:pylint to identify names that need renaming
- use PyCharm or similar to rename the functions/variables
- in the cases where the conversion is not just snake_case, use
.register_deprecated_aliases()

+ removed the __repr__() definition, it dumps all the note content
and obscures the error message
2021-06-26 11:38:59 +10:00
..
_backend in/out -> request/response 2021-06-20 15:49:20 +10:00
importing enable some pylint convention tests in pylib 2021-06-26 10:11:05 +10:00
scheduler enable some pylint convention tests in pylib 2021-06-26 10:11:05 +10:00
syncserver in/out -> request/response 2021-06-20 15:49:20 +10:00
__init__.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
_legacy.py add a helper so we can get semi-automatic camelCase conversion 2021-06-26 11:33:35 +10:00
BUILD.bazel add a helper so we can get semi-automatic camelCase conversion 2021-06-26 11:33:35 +10:00
buildinfo.py run black/isort on Python scripts 2021-04-14 18:22:02 +10:00
cards.py Add violet, turquoise and purple flags 2021-05-31 12:03:30 +02:00
collection.py remove deck protobuf from frontend 2021-05-31 16:31:06 +10:00
config.py config updates by the frontend now skip undo by default 2021-05-24 14:50:46 +10:00
consts.py fix documentation links 2021-06-03 16:51:03 +10:00
db.py add some typehints, and remove some unused code 2021-01-31 20:56:21 +10:00
dbproxy.py commit immediately when there's no active checkpoint 2021-03-10 11:47:53 +10:00
decks.py in/out -> request/response 2021-06-20 15:49:20 +10:00
errors.py simplify errors 2021-04-03 16:06:46 +10:00
exporting.py solve missing escape of ' (fixes #1144) 2021-04-22 00:54:11 -04:00
find.py ID -> Id in protobuf and Python 2021-03-27 21:38:20 +10:00
hooks.py add more typing, and enable checks for missing types for most of pylib 2021-01-31 21:38:36 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
httpclient.py minor code cleanups with pyupgrade 2021-02-11 09:43:40 +10:00
lang.py in/out -> request/response 2021-06-20 15:49:20 +10:00
latex.py in/out -> request/response 2021-06-20 15:49:20 +10:00
media.py in/out -> request/response 2021-06-20 15:49:20 +10:00
models.py in/out -> request/response 2021-06-20 15:49:20 +10:00
notes.py PEP8 notes.py 2021-06-26 11:38:59 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py fix rsbackend compat issues 2021-02-08 09:51:51 +10:00
sound.py support speed control in tts tags 2020-01-26 14:31:07 +10:00
stats.py enable some pylint convention tests in pylib 2021-06-26 10:11:05 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py Fix wrong stock note type being used 2021-05-23 07:56:59 +03:00
storage.py storage->collection 2020-05-20 17:58:28 +10:00
sync.py in/out -> request/response 2021-06-20 15:49:20 +10:00
tags.py undo support for tag collapse; expand->collapse for consistency w/ decks 2021-04-05 11:47:12 +10:00
template.py PEP8 notes.py 2021-06-26 11:38:59 +10:00
types.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
utils.py Fix typo 2021-06-13 08:59:58 +02:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00