Skip to content

Commit 5850026

Browse files
committed
docstring fixes
1 parent b4b8a15 commit 5850026

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

eos/effects/modulebonuswarfarelinkarmor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# Used by:
44
# Variations of module: Armor Command Burst I (2 of 2)
55

6-
'''
6+
"""
77
Some documentation:
88
When the fit is calculated, we gather up all the gang effects and stick them onto the fit. We don't run the actual
99
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
1010
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
1111
bonuses and actually run the effect. To do this, we have a special argument passed into the effect handler that tells it
1212
which warfareBuffID to run (shouldn't need this right now, but better safe than sorry)
13-
'''
13+
"""
1414

1515
type = "active", "gang"
1616

eos/modifiedAttributeDict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def getModifiedItemAttr(self, key, default=0):
3434
return return_value or default
3535

3636
def getBaseAttrValue(self, key, default=0):
37-
'''
37+
"""
3838
Gets base value in this order:
3939
Mutated value > override value > attribute value
40-
'''
40+
"""
4141
return_value = self.itemModifiedAttributes.getOriginal(key)
4242

4343
return return_value or default

gui/builtinViews/fittingView.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ def updateTab(self):
358358
self.parent.SetPageTextIcon(pageIndex, text, bitmap)
359359

360360
def appendItem(self, event):
361-
'''
361+
"""
362362
Adds items that are double clicks from the market browser. We handle both modules and ammo
363-
'''
363+
"""
364364
if not self:
365365
event.Skip()
366366
return
@@ -387,7 +387,7 @@ def appendItem(self, event):
387387
event.Skip()
388388

389389
def removeItem(self, event):
390-
'''Double Left Click - remove module'''
390+
"""Double Left Click - remove module"""
391391
if event.CmdDown():
392392
return
393393
row, _ = self.HitTest(event.Position)

scripts/itemDiff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#===============================================================================
2020

2121

22-
'''
22+
"""
2323
This script is used to compare two different database versions.
2424
It shows removed/changed/new items with list of changed effects,
2525
changed attributes and effects which were renamed
26-
'''
26+
"""
2727

2828
import argparse
2929
import os.path

scripts/sdeReadIcons.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
'''
1+
"""
22
A change to EVE Online's cache format rendered Reverence unable to correctly dump the icons file. As a stop gap, this
33
reads the offical SDE iconIDs.yaml and populates our own icons.json file. This files should then be transferred to the
44
other JSON files Phobos dumps before being converted to SQL
5-
'''
5+
"""
66

77
import yaml
88
import json

service/esiAccess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'''
1+
"""
22
33
A lot of the inspiration (and straight up code copying!) for this class comes from EsiPy <https://github.com/Kyria/EsiPy>
44
Much of the credit goes to the maintainer of that package, Kyria <tweetfleet slack: @althalus>. The reasoning for no
@@ -7,7 +7,7 @@
77
88
Eventually I'll rewrite this to be a bit cleaner and a bit more generic, but for now, it works!
99
10-
'''
10+
"""
1111

1212
# noinspection PyPackageRequirements
1313
from logbook import Logger

utils/strfunctions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
'''
1+
"""
22
string manipulation module
3-
'''
3+
"""
44
import re
55

66

0 commit comments

Comments
 (0)