mirror of https://github.com/stijndcl/didier
Fix typing
parent
eb71470edc
commit
bacd2d77fb
|
@ -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)
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
import settings
|
||||
|
||||
|
||||
def test_dummy(tables):
|
||||
assert settings.DB_TEST_SQLITE
|
||||
assert True
|
||||
|
|
Loading…
Reference in New Issue