Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3426 from markroxor/shebang
Browse files Browse the repository at this point in the history
removed shebangs
  • Loading branch information
scottpurdy committed Dec 13, 2016
2 parents 5c3edea + 7f077eb commit 6774f1a
Show file tree
Hide file tree
Showing 207 changed files with 3 additions and 209 deletions.
1 change: 0 additions & 1 deletion .githooks/pre-commit
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion ci/travis/deploy-wheel-to-s3.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
4 changes: 2 additions & 2 deletions ci/travis/script-run-tests.sh
Expand Up @@ -25,11 +25,11 @@ echo Running script-run-tests.sh...
echo

# Python unit tests and prep for coveralls reporting
${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -u --coverage --failfast || exit
python ${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -u --coverage --failfast || exit

mv ${TRAVIS_BUILD_DIR}/.coverage ${TRAVIS_BUILD_DIR}/.coverage_unit

# Python integration tests and prep for coveralls reporting
${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -i --coverage --failfast || exit
python ${TRAVIS_BUILD_DIR}/scripts/run_nupic_tests.py -i --coverage --failfast || exit

mv ${TRAVIS_BUILD_DIR}/.coverage ${TRAVIS_BUILD_DIR}/.coverage_integration
1 change: 0 additions & 1 deletion examples/bindings/sparse_matrix_how_to.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python

# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
Expand Down
1 change: 0 additions & 1 deletion examples/network/core_encoders_demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/network/custom_region_demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/network/hierarchy_network_demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/network/network_api_demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/network/temporal_anomaly_network_demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015-2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/cpu/cpu.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/anomaly/hotgym_anomaly.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python
import csv
import shutil
import datetime
Expand Down Expand Up @@ -44,4 +43,4 @@ def run():


if __name__ == "__main__":
run()
run()
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/anomaly/one_gym/run.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/prediction/one_gym/cleanup.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/prediction/one_gym/run.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/prediction/one_gym/swarm.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/hotgym/simple/hotgym.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/clients/nyctaxi/nyctaxi_anomaly.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/experiments/classification/makeDatasets.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/experiments/missing_record/make_datasets.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/experiments/multistep/make_datasets.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/experiments/params/test_all.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/simple_server/demo.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/tools/data_generator.pyw
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/opf/tools/sp_plotter.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/prediction/category_prediction/clean.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/prediction/category_prediction/run.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
dataSetPackage = ['firstOrder'],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
dataSetPackage = ['secondOrder1'],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
dataSetPackage = ['secondOrder0'],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
iterationCount = [50000],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
iterationCount = [25000],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
iterationCount = [50000],
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python

permutations = dict(
iterationCount = [50000],
Expand Down
1 change: 0 additions & 1 deletion examples/sp/sp_tutorial.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/swarm/test_db.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/hello_tm.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/tm_high_order.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/tp_constant_test.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/tp_overlapping_sequences.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/tp_segment_learning.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion examples/tp/tp_test.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion external/common/bin/pylint
@@ -1,3 +1,2 @@
#!/usr/bin/env python
from pylint import run_pylint
run_pylint()
@@ -1,4 +1,3 @@
#!/usr/bin/env python
"""
Matplotlib provides sophisticated date plotting capabilities, standing
on the shoulders of python :mod:`datetime`, the add-on modules
Expand Down
@@ -1,4 +1,3 @@
#!/usr/bin/env python
'''
$Id: tzfile.py,v 1.8 2004/06/03 00:15:24 zenzen Exp $
'''
Expand Down
1 change: 0 additions & 1 deletion scripts/profiling/enc_profile.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/profiling/profile_opf_memory.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/profiling/sp_profile.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/profiling/tp_profile.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/run_experiment_classifier_diff.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/run_nupic_tests.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/run_opf_experiment.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/run_swarm.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion scripts/temporal_memory_performance_benchmark.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2014-2016, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/algorithms/KNNClassifier.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013-15, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/CategoryFilter.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/aggregator.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/filters.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python

# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/generators/anomalyzer.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/joiner.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/sorter.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/data/stream_reader.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013-15, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/database/ClientJobsDAO.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/datafiles/extra/firstOrder/raw/makeDataset.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/datafiles/extra/generated/GenerateSampleData.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/datafiles/extra/hotgym/raw/makeDataset.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/datafiles/extra/regression/makeDataset.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/datafiles/extra/secondOrder/makeDataset.py
@@ -1,4 +1,3 @@
#! /usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/engine/__init__.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python

# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
Expand Down
1 change: 0 additions & 1 deletion src/nupic/engine/common_networks/__init__.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/regions/CLAClassifierRegion.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python
# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013-15, Numenta, Inc. Unless you have an agreement
Expand Down
1 change: 0 additions & 1 deletion src/nupic/regions/KNNClassifierRegion.py
@@ -1,4 +1,3 @@
#!/usr/bin/env python

# ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
Expand Down

0 comments on commit 6774f1a

Please sign in to comment.