lib/linguist/samples.json in github-linguist-2.8.0 vs lib/linguist/samples.json in github-linguist-2.8.1
- old
+ new
@@ -381,12 +381,12 @@
],
"YAML": [
".gemrc"
]
},
- "tokens_total": 360152,
- "languages_total": 427,
+ "tokens_total": 361619,
+ "languages_total": 428,
"tokens": {
"ABAP": {
"*/**": 1,
"*": 56,
"The": 2,
@@ -32446,37 +32446,37 @@
"Rs1": 2,
"stay": 1,
"L": 2
},
"Python": {
- "from": 33,
+ "from": 34,
"__future__": 2,
- "import": 42,
+ "import": 47,
"unicode_literals": 1,
"copy": 1,
"sys": 2,
"functools": 1,
"update_wrapper": 2,
"future_builtins": 1,
- "zip": 3,
+ "zip": 8,
"django.db.models.manager": 1,
"#": 13,
"Imported": 1,
"to": 4,
"register": 1,
"signal": 1,
"handler.": 1,
"django.conf": 1,
"settings": 1,
"django.core.exceptions": 1,
- "(": 508,
+ "(": 719,
"ObjectDoesNotExist": 2,
"MultipleObjectsReturned": 2,
"FieldError": 4,
"ValidationError": 8,
"NON_FIELD_ERRORS": 3,
- ")": 519,
+ ")": 730,
"django.core": 1,
"validators": 1,
"django.db.models.fields": 1,
"AutoField": 2,
"FieldDoesNotExist": 2,
@@ -32502,11 +32502,11 @@
"django.db.models.loading": 1,
"register_models": 2,
"get_model": 3,
"django.utils.translation": 1,
"ugettext_lazy": 1,
- "as": 8,
+ "as": 11,
"_": 5,
"django.utils.functional": 1,
"curry": 6,
"django.utils.encoding": 1,
"smart_str": 3,
@@ -32514,35 +32514,35 @@
"django.utils.text": 1,
"get_text_list": 2,
"capfirst": 6,
"class": 14,
"ModelBase": 4,
- "type": 4,
- "def": 63,
+ "type": 6,
+ "def": 68,
"__new__": 2,
"cls": 32,
"name": 39,
"bases": 6,
"attrs": 7,
"super_new": 3,
"super": 2,
".__new__": 1,
"parents": 8,
- "[": 66,
- "b": 9,
- "for": 52,
- "in": 72,
- "if": 144,
+ "[": 152,
+ "b": 11,
+ "for": 59,
+ "in": 79,
+ "if": 145,
"isinstance": 11,
- "]": 66,
+ "]": 152,
"not": 64,
- "return": 53,
+ "return": 57,
"module": 6,
"attrs.pop": 2,
"new_class": 9,
- "{": 24,
- "}": 24,
+ "{": 25,
+ "}": 25,
"attr_meta": 5,
"None": 86,
"abstract": 3,
"getattr": 30,
"False": 28,
@@ -32553,17 +32553,17 @@
"model_module": 1,
"sys.modules": 1,
"new_class.__module__": 1,
"kwargs": 9,
"model_module.__name__.split": 1,
- "-": 4,
+ "-": 30,
"new_class.add_to_class": 7,
"**kwargs": 9,
"subclass_exception": 3,
"tuple": 3,
"x.DoesNotExist": 1,
- "x": 4,
+ "x": 22,
"hasattr": 11,
"and": 35,
"x._meta.abstract": 2,
"or": 27,
"x.MultipleObjectsReturned": 1,
@@ -32585,11 +32585,11 @@
"obj_name": 2,
"obj": 4,
"attrs.items": 1,
"new_fields": 2,
"new_class._meta.local_fields": 3,
- "+": 15,
+ "+": 37,
"new_class._meta.local_many_to_many": 2,
"new_class._meta.virtual_fields": 1,
"field_names": 5,
"set": 3,
"f.name": 5,
@@ -32618,11 +32618,11 @@
"base._meta.abstract": 2,
"elif": 4,
"attr_name": 3,
"base._meta.module_name": 1,
"auto_created": 1,
- "True": 15,
+ "True": 20,
"parent_link": 1,
"new_class._meta.parents": 1,
"copy.deepcopy": 2,
"new_class._meta.parents.update": 1,
"base._meta.parents": 1,
@@ -32701,20 +32701,20 @@
"rel_obj": 3,
"except": 17,
"KeyError": 3,
"field.get_default": 3,
"field.null": 1,
- "prop": 4,
+ "prop": 5,
"kwargs.keys": 2,
"property": 2,
"AttributeError": 1,
"pass": 4,
".__init__": 1,
"signals.post_init.send": 1,
"instance": 5,
"__repr__": 2,
- "u": 3,
+ "u": 9,
"unicode": 8,
"UnicodeEncodeError": 1,
"UnicodeDecodeError": 1,
"self.__class__.__name__": 3,
"__str__": 1,
@@ -32726,11 +32726,11 @@
"__ne__": 1,
"self.__eq__": 1,
"__hash__": 1,
"hash": 1,
"__reduce__": 1,
- "data": 9,
+ "data": 22,
"self.__dict__": 1,
"defers": 2,
"self._deferred": 1,
"deferred_class_factory": 2,
"factory": 5,
@@ -32785,14 +32785,14 @@
"f.pre_save": 1,
"rows": 3,
"._update": 1,
"meta.order_with_respect_to": 2,
"order_value": 2,
- "*": 9,
+ "*": 33,
".count": 1,
"self._order": 1,
- "fields": 10,
+ "fields": 12,
"update_pk": 3,
"bool": 2,
"meta.has_auto_field": 1,
"result": 2,
"manager._insert": 1,
@@ -32813,11 +32813,11 @@
"field.flatchoices": 1,
".get": 2,
"strings_only": 1,
"_get_next_or_previous_by_FIELD": 1,
"self.pk": 6,
- "op": 5,
+ "op": 6,
"order": 5,
"param": 3,
"q": 4,
"|": 1,
"qs": 6,
@@ -32876,11 +32876,11 @@
"_perform_unique_checks": 1,
"unique_check": 10,
"lookup_kwargs": 8,
"self._meta.get_field": 1,
"lookup_value": 3,
- "str": 1,
+ "str": 2,
"lookup_kwargs.keys": 1,
"model_class._default_manager.filter": 2,
"*lookup_kwargs": 2,
"model_class_pk": 3,
"model_class._meta": 2,
@@ -32909,11 +32909,11 @@
"field_labels": 4,
"map": 1,
"lambda": 1,
"full_clean": 1,
"self.clean_fields": 1,
- "e": 7,
+ "e": 13,
"e.update_error_dict": 3,
"self.clean": 1,
"errors.keys": 1,
"exclude.append": 1,
"self.validate_unique": 1,
@@ -32990,11 +32990,11 @@
"view.__module__": 1,
"cls.__module__": 1,
"view.methods": 1,
"cls.methods": 1,
"MethodViewType": 2,
- "d": 4,
+ "d": 5,
"rv": 2,
"type.__new__": 1,
"rv.methods": 2,
"methods.add": 1,
"key.upper": 1,
@@ -33024,18 +33024,18 @@
"containing_type": 2,
"_descriptor.FieldDescriptor": 1,
"index": 1,
"number": 1,
"cpp_type": 1,
- "label": 1,
+ "label": 18,
"has_default_value": 1,
"default_value": 1,
"message_type": 1,
"enum_type": 1,
"is_extension": 1,
"extension_scope": 1,
- "options": 2,
+ "options": 3,
"extensions": 1,
"nested_types": 1,
"enum_types": 1,
"is_extendable": 1,
"extension_ranges": 1,
@@ -33043,23 +33043,23 @@
"serialized_end": 1,
"DESCRIPTOR.message_types_by_name": 1,
"Person": 1,
"_message.Message": 1,
"_reflection.GeneratedProtocolMessageType": 1,
- "SHEBANG#!python": 3,
- "print": 6,
+ "SHEBANG#!python": 4,
+ "print": 39,
"os": 1,
- "main": 2,
+ "main": 4,
"usage": 3,
"string": 1,
"command": 4,
"sys.argv": 2,
"<": 1,
"sys.exit": 1,
"printDelimiter": 4,
"get": 1,
- "a": 1,
+ "a": 2,
"list": 1,
"git": 1,
"directories": 1,
"specified": 1,
"gitDirectories": 2,
@@ -33074,11 +33074,179 @@
"os.path.abspath": 1,
"subdirectories": 3,
"os.walk": 1,
".next": 1,
"os.path.isdir": 1,
- "__name__": 1,
+ "__name__": 2,
+ "argparse": 1,
+ "matplotlib.pyplot": 1,
+ "pl": 1,
+ "numpy": 1,
+ "np": 1,
+ "scipy.optimize": 1,
+ "prettytable": 1,
+ "PrettyTable": 6,
+ "__docformat__": 1,
+ "S": 4,
+ "phif": 7,
+ "U": 10,
+ "/": 23,
+ "_parse_args": 2,
+ "V": 12,
+ "np.genfromtxt": 8,
+ "delimiter": 8,
+ "t": 8,
+ "U_err": 7,
+ "offset": 13,
+ "np.mean": 1,
+ "np.linspace": 9,
+ "min": 10,
+ "max": 11,
+ "y": 10,
+ "np.ones": 11,
+ "x.size": 2,
+ "pl.plot": 9,
+ "**6": 6,
+ ".format": 11,
+ "pl.errorbar": 8,
+ "yerr": 8,
+ "linestyle": 8,
+ "marker": 4,
+ "pl.grid": 5,
+ "pl.legend": 5,
+ "loc": 5,
+ "pl.title": 5,
+ "pl.xlabel": 5,
+ "ur": 11,
+ "pl.ylabel": 5,
+ "pl.savefig": 5,
+ "pl.clf": 5,
+ "glanz": 13,
+ "matt": 13,
+ "schwarz": 13,
+ "weiss": 13,
+ "T0": 1,
+ "T0_err": 2,
+ "glanz_phi": 4,
+ "matt_phi": 4,
+ "schwarz_phi": 4,
+ "weiss_phi": 4,
+ "T_err": 7,
+ "sigma": 4,
+ "boltzmann": 12,
+ "T": 6,
+ "epsilon": 7,
+ "T**4": 1,
+ "glanz_popt": 3,
+ "glanz_pconv": 1,
+ "op.curve_fit": 6,
+ "matt_popt": 3,
+ "matt_pconv": 1,
+ "schwarz_popt": 3,
+ "schwarz_pconv": 1,
+ "weiss_popt": 3,
+ "weiss_pconv": 1,
+ "glanz_x": 3,
+ "glanz_y": 2,
+ "*glanz_popt": 1,
+ "color": 8,
+ "matt_x": 3,
+ "matt_y": 2,
+ "*matt_popt": 1,
+ "schwarz_x": 3,
+ "schwarz_y": 2,
+ "*schwarz_popt": 1,
+ "weiss_x": 3,
+ "weiss_y": 2,
+ "*weiss_popt": 1,
+ "np.sqrt": 17,
+ "glanz_pconv.diagonal": 2,
+ "matt_pconv.diagonal": 2,
+ "schwarz_pconv.diagonal": 2,
+ "weiss_pconv.diagonal": 2,
+ "xerr": 6,
+ "U_err/S": 4,
+ "header": 5,
+ "glanz_table": 2,
+ "row": 10,
+ ".size": 4,
+ "*T_err": 4,
+ "glanz_phi.size": 1,
+ "*U_err/S": 4,
+ "glanz_table.add_row": 1,
+ "matt_table": 2,
+ "matt_phi.size": 1,
+ "matt_table.add_row": 1,
+ "schwarz_table": 2,
+ "schwarz_phi.size": 1,
+ "schwarz_table.add_row": 1,
+ "weiss_table": 2,
+ "weiss_phi.size": 1,
+ "weiss_table.add_row": 1,
+ "T0**4": 1,
+ "phi": 5,
+ "c": 3,
+ "a*x": 1,
+ "dx": 6,
+ "d**": 2,
+ "dy": 4,
+ "dx_err": 3,
+ "np.abs": 1,
+ "dy_err": 2,
+ "popt": 5,
+ "pconv": 2,
+ "*popt": 2,
+ "pconv.diagonal": 3,
+ "table": 2,
+ "table.align": 1,
+ "dy.size": 1,
+ "*dy_err": 1,
+ "table.add_row": 1,
+ "U1": 3,
+ "I1": 3,
+ "U2": 2,
+ "I_err": 2,
+ "p": 1,
+ "R": 1,
+ "R_err": 2,
+ "/I1": 1,
+ "**2": 2,
+ "U1/I1**2": 1,
+ "phi_err": 3,
+ "alpha": 2,
+ "beta": 1,
+ "R0": 6,
+ "R0_err": 2,
+ "alpha*R0": 2,
+ "*np.sqrt": 6,
+ "*beta*R": 5,
+ "alpha**2*R0": 5,
+ "*beta*R0": 7,
+ "*beta*R0*T0": 2,
+ "epsilon_err": 2,
+ "f1": 1,
+ "f2": 1,
+ "f3": 1,
+ "alpha**2": 1,
+ "*beta": 1,
+ "*beta*T0": 1,
+ "*beta*R0**2": 1,
+ "f1**2": 1,
+ "f2**2": 1,
+ "f3**2": 1,
+ "parser": 1,
+ "argparse.ArgumentParser": 1,
+ "description": 1,
+ "#parser.add_argument": 3,
+ "metavar": 1,
+ "nargs": 1,
+ "help": 2,
+ "dest": 1,
+ "default": 1,
+ "action": 1,
+ "version": 6,
+ "parser.parse_args": 1,
"absolute_import": 1,
"division": 1,
"with_statement": 1,
"Cookie": 1,
"logging": 1,
@@ -33148,11 +33316,10 @@
"eol": 3,
"data.find": 1,
"start_line": 1,
"method": 5,
"uri": 5,
- "version": 5,
"start_line.split": 1,
"version.startswith": 1,
"headers": 5,
"httputil.HTTPHeaders.parse": 1,
"self.stream.socket": 1,
@@ -38863,11 +39030,11 @@
"PHP": 20647,
"PogoScript": 250,
"PowerShell": 12,
"Processing": 74,
"Prolog": 4040,
- "Python": 4248,
+ "Python": 5715,
"R": 14,
"Racket": 360,
"Ragel in Ruby Host": 593,
"Rebol": 11,
"Ruby": 3854,
@@ -38964,11 +39131,11 @@
"PHP": 8,
"PogoScript": 1,
"PowerShell": 2,
"Processing": 1,
"Prolog": 6,
- "Python": 6,
+ "Python": 7,
"R": 1,
"Racket": 3,
"Ragel in Ruby Host": 3,
"Rebol": 1,
"Ruby": 16,
@@ -38997,7 +39164,7 @@
"XQuery": 1,
"XSLT": 1,
"Xtend": 2,
"YAML": 1
},
- "md5": "06f04376114dadff4923b1138204a240"
+ "md5": "0c2809e4b07cb4ec80e99a245694470e"
}
\ No newline at end of file