From d0d40c0d2ece4bacacae93ae922244965fc10c72 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Sun, 4 May 2014 20:44:40 -0500 Subject: [PATCH] Samples update --- lib/linguist/samples.json | 129 +++++++++++++++++++++++++++++--------- 1 file changed, 98 insertions(+), 31 deletions(-) diff --git a/lib/linguist/samples.json b/lib/linguist/samples.json index 43b79b3a..b5f3067a 100644 --- a/lib/linguist/samples.json +++ b/lib/linguist/samples.json @@ -437,6 +437,7 @@ ], "Python": [ ".py", + ".pyde", ".script!" ], "R": [ @@ -691,8 +692,8 @@ ".gemrc" ] }, - "tokens_total": 592149, - "languages_total": 720, + "tokens_total": 592428, + "languages_total": 722, "tokens": { "ABAP": { "*/**": 1, @@ -51345,6 +51346,81 @@ "entry.completed": 1 }, "Python": { + "xspacing": 4, + "#": 21, + "How": 2, + "far": 1, + "apart": 1, + "should": 1, + "each": 1, + "horizontal": 1, + "location": 1, + "be": 1, + "spaced": 1, + "maxwaves": 3, + "total": 1, + "of": 5, + "waves": 1, + "to": 5, + "add": 1, + "together": 1, + "theta": 3, + "amplitude": 3, + "[": 161, + "]": 161, + "Height": 1, + "wave": 2, + "dx": 8, + "yvalues": 7, + "def": 74, + "setup": 2, + "(": 762, + ")": 773, + "size": 2, + "frameRate": 1, + "colorMode": 1, + "RGB": 1, + "w": 2, + "width": 1, + "+": 44, + "for": 65, + "i": 13, + "in": 85, + "range": 5, + "amplitude.append": 1, + "random": 2, + "period": 2, + "many": 1, + "pixels": 1, + "before": 1, + "the": 6, + "repeats": 1, + "dx.append": 1, + "TWO_PI": 1, + "/": 26, + "*": 37, + "_": 6, + "yvalues.append": 1, + "draw": 2, + "background": 2, + "calcWave": 2, + "renderWave": 2, + "len": 11, + "j": 7, + "x": 28, + "if": 146, + "%": 33, + "sin": 1, + "else": 31, + "cos": 1, + "noStroke": 2, + "fill": 2, + "ellipseMode": 1, + "CENTER": 1, + "v": 13, + "enumerate": 2, + "ellipse": 1, + "height": 1, "from": 34, "__future__": 2, "import": 47, @@ -51356,22 +51432,18 @@ "future_builtins": 1, "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, - "(": 719, "ObjectDoesNotExist": 2, "MultipleObjectsReturned": 2, "FieldError": 4, "ValidationError": 8, "NON_FIELD_ERRORS": 3, - ")": 730, "django.core": 1, "validators": 1, "django.db.models.fields": 1, @@ -51402,7 +51474,6 @@ "django.utils.translation": 1, "ugettext_lazy": 1, "as": 11, - "_": 5, "django.utils.functional": 1, "curry": 6, "django.utils.encoding": 1, @@ -51414,7 +51485,6 @@ "class": 14, "ModelBase": 4, "type": 6, - "def": 68, "__new__": 2, "cls": 32, "name": 39, @@ -51424,13 +51494,8 @@ "super": 2, ".__new__": 1, "parents": 8, - "[": 152, "b": 11, - "for": 59, - "in": 79, - "if": 145, "isinstance": 11, - "]": 152, "not": 64, "return": 57, "module": 6, @@ -51444,7 +51509,6 @@ "getattr": 30, "False": 28, "meta": 12, - "else": 30, "base_meta": 2, "is": 29, "model_module": 1, @@ -51452,13 +51516,12 @@ "new_class.__module__": 1, "kwargs": 9, "model_module.__name__.split": 1, - "-": 30, + "-": 33, "new_class.add_to_class": 7, "**kwargs": 9, "subclass_exception": 3, "tuple": 3, "x.DoesNotExist": 1, - "x": 22, "hasattr": 11, "and": 35, "x._meta.abstract": 2, @@ -51484,7 +51547,6 @@ "attrs.items": 1, "new_fields": 2, "new_class._meta.local_fields": 3, - "+": 37, "new_class._meta.local_many_to_many": 2, "new_class._meta.virtual_fields": 1, "field_names": 5, @@ -51497,7 +51559,6 @@ "parent._meta.fields": 1, "raise": 22, "TypeError": 4, - "%": 32, "continue": 10, "new_class._meta.setup_proxy": 1, "new_class._meta.concrete_model": 2, @@ -51584,7 +51645,6 @@ "args": 8, "self._state": 1, "args_len": 2, - "len": 9, "self._meta.fields": 5, "IndexError": 2, "fields_iter": 4, @@ -51684,7 +51744,6 @@ "._update": 1, "meta.order_with_respect_to": 2, "order_value": 2, - "*": 33, ".count": 1, "self._order": 1, "fields": 12, @@ -51745,7 +51804,6 @@ "date_errors": 1, "self._perform_date_checks": 1, "k": 4, - "v": 11, "date_errors.items": 1, "errors.setdefault": 3, ".extend": 2, @@ -51827,9 +51885,6 @@ "ordered_obj._meta.order_with_respect_to.rel.field_name": 2, "order_name": 4, "ordered_obj._meta.order_with_respect_to.name": 2, - "i": 7, - "j": 2, - "enumerate": 1, "ordered_obj.objects.filter": 2, ".update": 1, "_order": 1, @@ -51864,8 +51919,6 @@ "decorate": 2, "based": 1, "views": 1, - "the": 5, - "of": 3, "as_view": 1, ".": 1, "However": 1, @@ -51901,6 +51954,22 @@ "meth": 5, "request.method.lower": 1, "request.method": 2, + "P3D": 1, + "lights": 1, + "camera": 1, + "mouseY": 1, + "eyeX": 1, + "eyeY": 1, + "eyeZ": 1, + "centerX": 1, + "centerY": 1, + "centerZ": 1, + "upX": 1, + "upY": 1, + "upZ": 1, + "box": 1, + "stroke": 1, + "line": 3, "google.protobuf": 4, "descriptor": 1, "_descriptor": 1, @@ -51986,7 +52055,6 @@ "S": 4, "phif": 7, "U": 10, - "/": 23, "_parse_args": 2, "V": 12, "np.genfromtxt": 8, @@ -52083,7 +52151,6 @@ "phi": 5, "c": 3, "a*x": 1, - "dx": 6, "d**": 2, "dy": 4, "dx_err": 3, @@ -63107,7 +63174,7 @@ "Prolog": 468, "Protocol Buffer": 63, "PureScript": 1652, - "Python": 5715, + "Python": 5994, "R": 1667, "Racket": 331, "Ragel in Ruby Host": 593, @@ -63287,7 +63354,7 @@ "Prolog": 3, "Protocol Buffer": 1, "PureScript": 4, - "Python": 7, + "Python": 9, "R": 6, "Racket": 2, "Ragel in Ruby Host": 3, @@ -63339,5 +63406,5 @@ "YAML": 2, "Zephir": 2 }, - "md5": "fa38e2b617caaf230146a7adab264419" + "md5": "6fca18dd283ca94243368fe26a135f97" } \ No newline at end of file