docstring fixes
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
# Used by:
|
||||
# Variations of module: Armor Command Burst I (2 of 2)
|
||||
|
||||
'''
|
||||
"""
|
||||
Some documentation:
|
||||
When the fit is calculated, we gather up all the gang effects and stick them onto the fit. We don't run the actual
|
||||
effect yet, only give the fit details so that it can run the effect at a later time. We need to do this so that we can
|
||||
only run the strongest effect. When we are done, one of the last things that we do with the fit is to loop through those
|
||||
bonuses and actually run the effect. To do this, we have a special argument passed into the effect handler that tells it
|
||||
which warfareBuffID to run (shouldn't need this right now, but better safe than sorry)
|
||||
'''
|
||||
"""
|
||||
|
||||
type = "active", "gang"
|
||||
|
||||
|
||||
@@ -34,10 +34,10 @@ class ItemAttrShortcut(object):
|
||||
return return_value or default
|
||||
|
||||
def getBaseAttrValue(self, key, default=0):
|
||||
'''
|
||||
"""
|
||||
Gets base value in this order:
|
||||
Mutated value > override value > attribute value
|
||||
'''
|
||||
"""
|
||||
return_value = self.itemModifiedAttributes.getOriginal(key)
|
||||
|
||||
return return_value or default
|
||||
|
||||
@@ -358,9 +358,9 @@ class FittingView(d.Display):
|
||||
self.parent.SetPageTextIcon(pageIndex, text, bitmap)
|
||||
|
||||
def appendItem(self, event):
|
||||
'''
|
||||
"""
|
||||
Adds items that are double clicks from the market browser. We handle both modules and ammo
|
||||
'''
|
||||
"""
|
||||
if not self:
|
||||
event.Skip()
|
||||
return
|
||||
@@ -387,7 +387,7 @@ class FittingView(d.Display):
|
||||
event.Skip()
|
||||
|
||||
def removeItem(self, event):
|
||||
'''Double Left Click - remove module'''
|
||||
"""Double Left Click - remove module"""
|
||||
if event.CmdDown():
|
||||
return
|
||||
row, _ = self.HitTest(event.Position)
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
#===============================================================================
|
||||
|
||||
|
||||
'''
|
||||
"""
|
||||
This script is used to compare two different database versions.
|
||||
It shows removed/changed/new items with list of changed effects,
|
||||
changed attributes and effects which were renamed
|
||||
'''
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import os.path
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
'''
|
||||
"""
|
||||
A change to EVE Online's cache format rendered Reverence unable to correctly dump the icons file. As a stop gap, this
|
||||
reads the offical SDE iconIDs.yaml and populates our own icons.json file. This files should then be transferred to the
|
||||
other JSON files Phobos dumps before being converted to SQL
|
||||
'''
|
||||
"""
|
||||
|
||||
import yaml
|
||||
import json
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
'''
|
||||
"""
|
||||
|
||||
A lot of the inspiration (and straight up code copying!) for this class comes from EsiPy <https://github.com/Kyria/EsiPy>
|
||||
Much of the credit goes to the maintainer of that package, Kyria <tweetfleet slack: @althalus>. The reasoning for no
|
||||
@@ -7,7 +7,7 @@ low level.
|
||||
|
||||
Eventually I'll rewrite this to be a bit cleaner and a bit more generic, but for now, it works!
|
||||
|
||||
'''
|
||||
"""
|
||||
|
||||
# noinspection PyPackageRequirements
|
||||
from logbook import Logger
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'''
|
||||
"""
|
||||
string manipulation module
|
||||
'''
|
||||
"""
|
||||
import re
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user