Commit f0d08f5c57de96cd1e46e87b4b49f010af1890c8
1 parent
0d5211b6
Exists in
master
minor
Showing
4 changed files
with
9 additions
and
9 deletions
Show diff stats
perguntations/app.py
| ... | ... | @@ -60,7 +60,7 @@ class App(): |
| 60 | 60 | self._make_test_factory(config['testfile']) |
| 61 | 61 | self._db_setup() # setup engine and load all students |
| 62 | 62 | |
| 63 | - # FIXME get_event_loop will be deprecated in python3.10 | |
| 63 | + # FIXME: get_event_loop will be deprecated in python3.10 | |
| 64 | 64 | asyncio.get_event_loop().run_until_complete(self._assign_tests()) |
| 65 | 65 | |
| 66 | 66 | # command line options: --allow-all, --allow-list filename | ... | ... |
perguntations/models.py
| ... | ... | @@ -9,7 +9,7 @@ from sqlalchemy import Column, ForeignKey, Integer, Float, String |
| 9 | 9 | from sqlalchemy.orm import declarative_base, relationship |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -# FIXME Any is a workaround for static type checking | |
| 12 | +# FIXME: Any is a workaround for static type checking | |
| 13 | 13 | # (https://github.com/python/mypy/issues/6372) |
| 14 | 14 | Base: Any = declarative_base() |
| 15 | 15 | ... | ... |
perguntations/testfactory.py
| ... | ... | @@ -98,7 +98,7 @@ class TestFactory(dict): |
| 98 | 98 | normalize_question_list(self['questions']) |
| 99 | 99 | |
| 100 | 100 | # --- for review, we are done. no factories needed |
| 101 | - # if self['review']: FIXME | |
| 101 | + # if self['review']: FIXME: make it work! | |
| 102 | 102 | # logger.info('Review mode. No questions loaded. No factories.') |
| 103 | 103 | # return |
| 104 | 104 | |
| ... | ... | @@ -257,7 +257,7 @@ class TestFactory(dict): |
| 257 | 257 | checks if questions can be correctly generated and corrected |
| 258 | 258 | ''' |
| 259 | 259 | logger.info('Checking questions...') |
| 260 | - # FIXME get_event_loop will be deprecated in python3.10 | |
| 260 | + # FIXME: get_event_loop will be deprecated in python3.10 | |
| 261 | 261 | loop = asyncio.get_event_loop() |
| 262 | 262 | for i, (qref, qfact) in enumerate(self['question_factory'].items()): |
| 263 | 263 | try: | ... | ... |
setup.py
| ... | ... | @@ -7,22 +7,22 @@ from setuptools import setup, find_packages |
| 7 | 7 | from perguntations import (__author__, __license__, |
| 8 | 8 | APP_NAME, APP_VERSION, APP_DESCRIPTION) |
| 9 | 9 | |
| 10 | -with open("README.md", "r") as f: | |
| 10 | +with open('README.md', 'r') as f: | |
| 11 | 11 | long_description = f.read() |
| 12 | 12 | |
| 13 | 13 | setup( |
| 14 | 14 | name=APP_NAME, |
| 15 | 15 | version=APP_VERSION, |
| 16 | 16 | author=__author__, |
| 17 | - author_email="mjsb@uevora.pt", | |
| 17 | + author_email='mjsb@uevora.pt', | |
| 18 | 18 | license=__license__, |
| 19 | 19 | description=APP_DESCRIPTION.split('\n')[0], |
| 20 | 20 | long_description=APP_DESCRIPTION, |
| 21 | - long_description_content_type="text/markdown", | |
| 22 | - url="https://git.xdi.uevora.pt/mjsb/perguntations.git", | |
| 21 | + long_description_content_type='text/markdown', | |
| 22 | + url='https://git.xdi.uevora.pt/mjsb/perguntations.git', | |
| 23 | 23 | packages=find_packages(), |
| 24 | 24 | include_package_data=True, # install files from MANIFEST.in |
| 25 | - python_requires='>=3.8.*', | |
| 25 | + python_requires='>=3.9', | |
| 26 | 26 | install_requires=[ |
| 27 | 27 | 'bcrypt>=3.1', |
| 28 | 28 | 'mistune<2.0', | ... | ... |