Fix typing

pull/115/head
stijndcl 2022-06-17 01:51:06 +02:00
parent eb71470edc
commit bacd2d77fb
3 changed files with 5 additions and 5 deletions

View File

@ -44,4 +44,4 @@ class UforaAnnouncement(Base):
announcement_id = Column(Integer, primary_key=True)
course_id = Column(Integer, ForeignKey("ufora_courses.course_id"))
course = relationship("UforaCourse", back_populates="announcements", uselist=False)
course: UforaCourse = relationship("UforaCourse", back_populates="announcements", uselist=False)

View File

@ -5,6 +5,9 @@ line-length = 120
plugins = [
"sqlalchemy.ext.mypy.plugin"
]
[[tool.mypy.overrides]]
module = "discord.*"
ignore_missing_imports = true
[tool.pylint.master]
disable = [

View File

@ -1,5 +1,2 @@
import settings
def test_dummy(tables):
assert settings.DB_TEST_SQLITE
assert True