eric6/Project/Project.py

changeset 7998
cd41c844862f
parent 7992
0d1e35a10a0b
child 8000
47b15df088e4
equal deleted inserted replaced
7997:2ca23396c25c 7998:cd41c844862f
497 "CompressLevel": 0, # use zlib default 497 "CompressLevel": 0, # use zlib default
498 "CompressionDisable": False, 498 "CompressionDisable": False,
499 "PathPrefix": "", 499 "PathPrefix": "",
500 }, 500 },
501 "EOL": -1, 501 "EOL": -1,
502 "DOCSTRING": "",
502 } 503 }
503 504
504 self.__initDebugProperties() 505 self.__initDebugProperties()
505 506
506 self.pudata = { 507 self.pudata = {
5865 "CompressionThreshold": 70, # default value 5866 "CompressionThreshold": 70, # default value
5866 "CompressLevel": 0, # use zlib default 5867 "CompressLevel": 0, # use zlib default
5867 "CompressionDisable": False, 5868 "CompressionDisable": False,
5868 "PathPrefix": "", 5869 "PathPrefix": "",
5869 } 5870 }
5871
5872 #########################################################################
5873 ## Below are methods implementing some 'docstring' support functions
5874 #########################################################################
5875
5876 def hasDefaultDocstringParameter(self):
5877 """
5878 Public method to test, if the project contains the default docstring
5879 parameter.
5880
5881 @return flag indicating default parameter
5882 @rtype bool
5883 """
5884 return self.pdata["DOCSTRING"] == ""
5885
5886 def getDocstringType(self):
5887 """
5888 Public method to get the configured docstring style.
5889
5890 @return configured docstring style
5891 @rtype str
5892 """
5893 return self.pdata["DOCSTRING"]
5870 5894
5871 # 5895 #
5872 # eflag: noqa = M601 5896 # eflag: noqa = M601

eric ide

mercurial