From 6839516b5c7eb11147b6d75057ce5f4b22ee3453 Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Tue, 17 Nov 2015 00:03:21 +0100 Subject: [PATCH] Only classify `.pkl` files as Pickle data dumps It seems to be the dominant extension at the moment, even though several Python resources use `.p` or `.pickle`. This was discussed in #2655. --- lib/linguist/languages.yml | 2 -- samples/Pickle/{data.p => data.pkl} | 0 ...-l2reg-784-10-30.p => neural-network-ce-l2reg-784-10-30.pkl} | 0 samples/Pickle/{random.p => random.pkl} | 0 samples/Pickle/{save.p => save.pkl} | 0 5 files changed, 2 deletions(-) rename samples/Pickle/{data.p => data.pkl} (100%) rename samples/Pickle/{neural-network-ce-l2reg-784-10-30.p => neural-network-ce-l2reg-784-10-30.pkl} (100%) rename samples/Pickle/{random.p => random.pkl} (100%) rename samples/Pickle/{save.p => save.pkl} (100%) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 45c7e4c8..931e20aa 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2575,8 +2575,6 @@ Perl6: Pickle: type: data extensions: - - .p - - .pickle - .pkl tm_scope: none ace_mode: text diff --git a/samples/Pickle/data.p b/samples/Pickle/data.pkl similarity index 100% rename from samples/Pickle/data.p rename to samples/Pickle/data.pkl diff --git a/samples/Pickle/neural-network-ce-l2reg-784-10-30.p b/samples/Pickle/neural-network-ce-l2reg-784-10-30.pkl similarity index 100% rename from samples/Pickle/neural-network-ce-l2reg-784-10-30.p rename to samples/Pickle/neural-network-ce-l2reg-784-10-30.pkl diff --git a/samples/Pickle/random.p b/samples/Pickle/random.pkl similarity index 100% rename from samples/Pickle/random.p rename to samples/Pickle/random.pkl diff --git a/samples/Pickle/save.p b/samples/Pickle/save.pkl similarity index 100% rename from samples/Pickle/save.p rename to samples/Pickle/save.pkl