Commit 88bb0921 authored by talljosh's avatar talljosh

Fixed and suppressed a few incorrect PyCharm inspection warnings.

parent c738a1f1cc1a
......@@ -67,6 +67,7 @@
<option value="trosnoth.model.universe.UIOptions.frontLine" />
<option value="trosnoth.model.universe.UIOptions.winning_player_ids" />
<option value="trosnoth.model.universe.UIOptions.winning_team_ids" />
<option value="dataclasses" />
</list>
</option>
</inspection_tool>
......@@ -77,4 +78,4 @@
<option name="processComments" value="true" />
</inspection_tool>
</profile>
</component>
\ No newline at end of file
</component>
......@@ -4,6 +4,7 @@ import logging
import os
import sys
from configparser import ConfigParser
# noinspection PyUnresolvedReferences
from dataclasses import dataclass
import pygame
......@@ -188,6 +189,7 @@ class DisplaySettings(SettingsBase):
self.on_detail_level_changed = Event([])
self.on_change = Event([])
# noinspection PyArgumentList
super().__init__(data, *args, **kwargs)
self.size = self.parse_size_string(data.get('size'))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment