diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ long_description = read('README.rst') # Core dependencies install_requires = [ 'future', - 'Sphinx>=1.6.2', + 'Sphinx>=1.5.0,<1.6.0', 'PyYAML', 'sphinx-prompt', 'GitPython' @@ -42,8 +...
Pin Sphinx and astropy-helpers versions
py
diff --git a/salt/proxy/dummy.py b/salt/proxy/dummy.py index <HASH>..<HASH> 100644 --- a/salt/proxy/dummy.py +++ b/salt/proxy/dummy.py @@ -35,14 +35,14 @@ def __virtual__(): def _save_state(details): - pck = open(FILENAME, 'wb') + pck = open(FILENAME, 'wb') # pylint: disable=W8470 pickle.dump(details, ...
Disable pylint warnings for uses of "open" in proxy minion dummy file There is an associated "close" for both of the open instances.
py
diff --git a/pymatgen/io/vaspio.py b/pymatgen/io/vaspio.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vaspio.py +++ b/pymatgen/io/vaspio.py @@ -1145,7 +1145,6 @@ class Outcar(object): elif read_charge or read_mag: if clean.startswith("# of ion"): header ...
Remove debug print statement from Outcar class. Former-commit-id: ffc6c<I>d0edb6e<I>b<I>a8a<I>ddfab8c<I>
py
diff --git a/vivarium/framework/population.py b/vivarium/framework/population.py index <HASH>..<HASH> 100644 --- a/vivarium/framework/population.py +++ b/vivarium/framework/population.py @@ -30,6 +30,7 @@ def uses_columns(column, query=''): ``index`` attributes of PopulationEvents """ return _uses_column...
ENH: better signatures for decorators now working with a simple implementation
py
diff --git a/axolotl/__init__.py b/axolotl/__init__.py index <HASH>..<HASH> 100644 --- a/axolotl/__init__.py +++ b/axolotl/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -__version__ = '0.1.7' +__version__ = '0.1.34' __author__ = 'Tarek Galal' __email__ = 'tare2.galal@gmail.com' __license__ = 'GPLv3'
bumped to <I>
py
diff --git a/src/inscriptis/model/css.py b/src/inscriptis/model/css.py index <HASH>..<HASH> 100644 --- a/src/inscriptis/model/css.py +++ b/src/inscriptis/model/css.py @@ -70,7 +70,7 @@ class HtmlElement: HtmlElement.WRITER[self.display](self, text) def write_tail(self, text): - if not (text and n...
fix: pass test_double_a.py
py
diff --git a/openquake/hazardlib/valid.py b/openquake/hazardlib/valid.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/valid.py +++ b/openquake/hazardlib/valid.py @@ -403,7 +403,8 @@ def point(value): def coordinates(value): """ - Convert a non-empty string into a list of lon-lat coordinates + Con...
Added a test for overlapping points
py
diff --git a/qface/watch.py b/qface/watch.py index <HASH>..<HASH> 100644 --- a/qface/watch.py +++ b/qface/watch.py @@ -42,6 +42,8 @@ def monitor(script, src, dst, args): click.secho('watch recursive: {0}'.format(script.dirname()), fg='blue') observer.schedule(event_handler, script.dirname(), recursive=True) ...
Ensure watched file entries are always folders
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def dependencies(file): setup( name='spinners', packages=find_packages(exclude=('tests', 'examples')), - version='0.0.22', + version='0.0.23', license='MIT', description='Spinners for ...
Version: Bumped to <I>
py
diff --git a/grimoire_elk/enriched/stackexchange.py b/grimoire_elk/enriched/stackexchange.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/enriched/stackexchange.py +++ b/grimoire_elk/enriched/stackexchange.py @@ -76,6 +76,9 @@ class StackExchangeEnrich(Enrich): # for answers user = item[iden...
[stackexchange] Handle deleted users This code allows to handle deleted users on stackexchange platforms, which displayed names are now replaced with 'unknown' to avoid sortinghat failing when loading identities.
py
diff --git a/asyncwebsockets/ws.py b/asyncwebsockets/ws.py index <HASH>..<HASH> 100644 --- a/asyncwebsockets/ws.py +++ b/asyncwebsockets/ws.py @@ -116,13 +116,6 @@ class ClientWebsocket(object): buf_text = StringIO() while True: - if self.state.closed: - yield WebsocketClos...
Scratch that; closing explicitly works fine.
py
diff --git a/src/feat/database/query.py b/src/feat/database/query.py index <HASH>..<HASH> 100644 --- a/src/feat/database/query.py +++ b/src/feat/database/query.py @@ -181,6 +181,7 @@ class QueryViewMeta(type(view.BaseView)): cls.HANDLERS = HANDLERS = dict() cls.DOCUMENT_TYPES = DOCUMENT_TYPES = set() ...
Go back to keeping the list of defined fields of the view. Turns out its important to know it, because the first field is used for full range query if no condition is defined.
py
diff --git a/sos/plugins/kernel.py b/sos/plugins/kernel.py index <HASH>..<HASH> 100644 --- a/sos/plugins/kernel.py +++ b/sos/plugins/kernel.py @@ -110,6 +110,7 @@ class Kernel(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/sys/module/*/version", "/sys/firmware/acpi/*", "/sys...
[kernel] Add collection of livepatch information Kernel livepatch support is available since, kernel version <I>. Collect information relating to livepatch available under the path /sys/kernel/livepatch/. Each of the subdirectories following the path is a kernel livepatching module and hosts the information about the ...
py
diff --git a/code/png.py b/code/png.py index <HASH>..<HASH> 100755 --- a/code/png.py +++ b/code/png.py @@ -2573,7 +2573,8 @@ class Test(unittest.TestCase): def testRGBtoRGBA(self): "asRGBA8() on colour type 2 source.""" # Test for Issue 26 - r = Reader(bytes=_pngsuite['basn2c08']) + ...
Add (implicit) test for reading from file-like objects.
py
diff --git a/troposphere/cloudwatch.py b/troposphere/cloudwatch.py index <HASH>..<HASH> 100644 --- a/troposphere/cloudwatch.py +++ b/troposphere/cloudwatch.py @@ -69,6 +69,7 @@ class Alarm(AWSObject): 'AlarmDescription': (basestring, False), 'AlarmName': (basestring, False), 'ComparisonOperat...
Alphabetize DatapointsToAlarm in CloudWatch
py
diff --git a/bcbio/variation/validate.py b/bcbio/variation/validate.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/validate.py +++ b/bcbio/variation/validate.py @@ -116,7 +116,7 @@ def _create_validate_config(vrn_file, rm_file, rm_interval_file, rm_genome, "ref": rm_genome, "approach": "gr...
Avoid passing BAM file to evaluation code when reference and evaluation genomes differ, since alternative evaluation mapping cannot be used to annotate the final VCFs
py
diff --git a/pydoop/hadut.py b/pydoop/hadut.py index <HASH>..<HASH> 100644 --- a/pydoop/hadut.py +++ b/pydoop/hadut.py @@ -29,6 +29,7 @@ import pydoop import pydoop.utils.misc as utils import pydoop.hadoop_utils as hu import pydoop.hdfs as hdfs +from .utils.py3compat import basestring GLOB_CHARS = frozenset('*,...
Minor python3 compat fixes. Added definition of basestring. Changed iteritems to items.
py
diff --git a/dvc/__init__.py b/dvc/__init__.py index <HASH>..<HASH> 100644 --- a/dvc/__init__.py +++ b/dvc/__init__.py @@ -10,7 +10,7 @@ import os import warnings -VERSION_BASE = "0.27.1" +VERSION_BASE = "0.28.0" __version__ = VERSION_BASE PACKAGEPATH = os.path.abspath(os.path.dirname(__file__))
dvc: bump to <I>
py
diff --git a/plugins/jobs/girder_jobs/models/job.py b/plugins/jobs/girder_jobs/models/job.py index <HASH>..<HASH> 100644 --- a/plugins/jobs/girder_jobs/models/job.py +++ b/plugins/jobs/girder_jobs/models/job.py @@ -342,7 +342,7 @@ class Job(AccessControlledModel): actually scheduling and/or executing the job, ...
Backwards compatibility in scheduleJob
py
diff --git a/start_rc.py b/start_rc.py index <HASH>..<HASH> 100644 --- a/start_rc.py +++ b/start_rc.py @@ -3,7 +3,7 @@ import subprocess import sys from os.path import isfile -SERVER_VERSION = "4.1" +SERVER_VERSION = "4.1.4-SNAPSHOT" RC_VERSION = "0.8-SNAPSHOT" RELEASE_REPO = "http://repo1.maven.apache.org/mave...
Update Hazelcast version used in tests (#<I>) * Update Hazelcast version used in tests Updated the version to <I>-SNAPSHOT to use the renewed certificates. * do not download dependencies transitively
py
diff --git a/salt/pillar/git_pillar.py b/salt/pillar/git_pillar.py index <HASH>..<HASH> 100644 --- a/salt/pillar/git_pillar.py +++ b/salt/pillar/git_pillar.py @@ -370,7 +370,9 @@ class _LegacyGitPillar(object): 'initializing the repo: {0}. Maybe ' 'git is not available.'.fo...
Add warning about bug that should be reported
py
diff --git a/auto_ml/_version.py b/auto_ml/_version.py index <HASH>..<HASH> 100644 --- a/auto_ml/_version.py +++ b/auto_ml/_version.py @@ -1 +1 @@ -__version__ = "2.0.1" +__version__ = "2.1.0"
adds feature_learning and cateorical_ensembling
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup( name='djangomako', - version='1.0.1', + version='1.1.0', packages=['djangomako'], install_requires=['Mako==1.0.7'], classifiers=[
Pop up the version to <I>
py
diff --git a/tests/test_converter.py b/tests/test_converter.py index <HASH>..<HASH> 100644 --- a/tests/test_converter.py +++ b/tests/test_converter.py @@ -191,6 +191,7 @@ class TestConverter(unittest.TestCase): self.assertTrue(all(item is False for item in no_data_2), 'Did not receive enough data') se...
MAINT: skip not working tests unde windows
py
diff --git a/mackup/main.py b/mackup/main.py index <HASH>..<HASH> 100644 --- a/mackup/main.py +++ b/mackup/main.py @@ -136,7 +136,7 @@ def main(): app_names = mckp.get_apps_to_backup() app_names.discard(MACKUP_APP_NAME) - for app_name in mckp.get_apps_to_backup(): + for...
Use the list of apps without mackup
py
diff --git a/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/production.py b/molo/core/cookiecutter/scaffold/{{cookiecutter.directory}}/{{cookiecutter.app_name}}/settings/production.py index <HASH>..<HASH> 100644 --- a/molo/core/cookiecutter/scaffold/{{cookiecutter.director...
adign ignore to prod settings
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -142,7 +142,8 @@ class BaseCalculator(with_metaclass(abc.ABCMeta)): if pre_execute: self.pre_execute() ...
Managed the case of complete filtering
py
diff --git a/floyd/client/files.py b/floyd/client/files.py index <HASH>..<HASH> 100644 --- a/floyd/client/files.py +++ b/floyd/client/files.py @@ -21,6 +21,7 @@ def get_files_in_directory(path, file_type): total_file_size = 0 for root, dirs, files in os.walk(path): + floyd_logger.debug("Root:{}, Dirs...
Bug fix: Too many files error in ignored directories The CLI was traversing into directories even if it was added to the .floydingore file. This fixes that by removing the subdirectories of ignored directories from os.walk dir list.
py
diff --git a/lifxlan/lifxlan.py b/lifxlan/lifxlan.py index <HASH>..<HASH> 100644 --- a/lifxlan/lifxlan.py +++ b/lifxlan/lifxlan.py @@ -109,7 +109,7 @@ class LifxLAN: # # ###################################################################...
going with the TCP principle of fast retransmit to speed up discovery. Now twice as fast!
py
diff --git a/tests/test_pipenv.py b/tests/test_pipenv.py index <HASH>..<HASH> 100644 --- a/tests/test_pipenv.py +++ b/tests/test_pipenv.py @@ -294,6 +294,24 @@ records = "*" c = p.pipenv('run python -c "import tablib"') assert c.return_code == 0 + @pytest.mark.cli + @pytest.mark.instal...
Add test to go through the editable check code path This would have failed without the previous commit.
py
diff --git a/py/testdir_multi_jvm/test_GLM_many_cols_int2cat.py b/py/testdir_multi_jvm/test_GLM_many_cols_int2cat.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_GLM_many_cols_int2cat.py +++ b/py/testdir_multi_jvm/test_GLM_many_cols_int2cat.py @@ -74,8 +74,8 @@ class Basic(unittest.TestCase): # ...
change the test back to it's original colSwap+factor behavior (had changed it to colSwap only to see if that affected pass/fail. Original fail was colSwap+factor
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -2844,10 +2844,7 @@ def sudo(orig): def process(args, kwargs): - try: - password = args.pop(0) - except IndexError: - password = None + password = kwargs.pop("password", None) ...
contrib.sudo should use kwarg password
py
diff --git a/tests/contrib/hahelpers/test_ceph_utils.py b/tests/contrib/hahelpers/test_ceph_utils.py index <HASH>..<HASH> 100644 --- a/tests/contrib/hahelpers/test_ceph_utils.py +++ b/tests/contrib/hahelpers/test_ceph_utils.py @@ -5,6 +5,7 @@ from tempfile import mkdtemp from threading import Timer from testtools imp...
Added nose slow attribute to the slow tests
py
diff --git a/pull_into_place/pipeline.py b/pull_into_place/pipeline.py index <HASH>..<HASH> 100644 --- a/pull_into_place/pipeline.py +++ b/pull_into_place/pipeline.py @@ -470,7 +470,17 @@ def workspace_from_dir(directory, recurse=True): if not os.path.exists(pickle_path): if recurse: parent_d...
Improve the "workspace not found" error message.
py
diff --git a/sregistry/version.py b/sregistry/version.py index <HASH>..<HASH> 100644 --- a/sregistry/version.py +++ b/sregistry/version.py @@ -17,11 +17,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. ''' -<<<<<<< HEAD __version__ = "0.01.02" -======= -__version__ = "0.01.01" ->>>>>>> ...
missed a merge conflcit
py
diff --git a/cytomine/cytomine_job.py b/cytomine/cytomine_job.py index <HASH>..<HASH> 100644 --- a/cytomine/cytomine_job.py +++ b/cytomine/cytomine_job.py @@ -289,7 +289,7 @@ class CytomineJob(Cytomine): status_comment = "Job successfully terminated" else: status = Job.FAILED - ...
Limit the status message created in case of exception to <I> characters
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,7 +28,7 @@ settings.configure( 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ.get('PGDATABASE', 'django_ddp_docs_project'), - ...
Don\t use $LOGNAME when building docs.
py
diff --git a/thinc/about.py b/thinc/about.py index <HASH>..<HASH> 100644 --- a/thinc/about.py +++ b/thinc/about.py @@ -1,2 +1,2 @@ -__version__ = "8.0.13" +__version__ = "8.0.14.dev0" __release__ = True
Set version to <I>.dev0 (#<I>)
py
diff --git a/push50/api.py b/push50/api.py index <HASH>..<HASH> 100644 --- a/push50/api.py +++ b/push50/api.py @@ -481,10 +481,11 @@ def _spawn(command, quiet=False, timeout=None): child.close() raise else: - try: - child.expect(pexpect.EOF, timeout=timeout) - except pexp...
only expect EOF if child is alive
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -69,10 +69,9 @@ class BaseTestCase(unittest.TestCase, Basic): 1. load logging configuration 2. load package configuration """ - self.logger.info('setUp()') ...
only log info after logger has been set.
py
diff --git a/bridgepoint/interpret.py b/bridgepoint/interpret.py index <HASH>..<HASH> 100644 --- a/bridgepoint/interpret.py +++ b/bridgepoint/interpret.py @@ -372,6 +372,7 @@ class ActionWalker(xtuml.Walker): '-': lambda lhs, rhs: (lhs - rhs), '*': lambda lhs, rhs: (lhs * rhs), ...
interpret: improve binary and unary operator support
py
diff --git a/safe/common/test_polygon.py b/safe/common/test_polygon.py index <HASH>..<HASH> 100644 --- a/safe/common/test_polygon.py +++ b/safe/common/test_polygon.py @@ -4,16 +4,27 @@ import sys import os # Add parent directory to path to make test aware of other modules -pardir = os.path.abspath(os.path.join(os.p...
Removed a star import in test_polygon
py
diff --git a/integration/concurrency.py b/integration/concurrency.py index <HASH>..<HASH> 100644 --- a/integration/concurrency.py +++ b/integration/concurrency.py @@ -19,7 +19,7 @@ def _worker(queue, cxn, start, num_words, count, expected): ) stdout = cxn.run(cmd, hide=True).stdout result = [x.strip() fo...
Tryin to wring more usefulness out of these errors
py
diff --git a/analyzers/StamusNetworks/hostid_analyzer.py b/analyzers/StamusNetworks/hostid_analyzer.py index <HASH>..<HASH> 100755 --- a/analyzers/StamusNetworks/hostid_analyzer.py +++ b/analyzers/StamusNetworks/hostid_analyzer.py @@ -27,6 +27,8 @@ class StamusNetworksAnalyzer(Analyzer): def artifacts(self, raw)...
StamusNetworks: handle error from REST API
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( license='BSD', packages=['pyautogui'], test_suite='tests', - install_requires=['pymsgbox', 'PyTweening>=1.0.1', 'Pillow'], + install_requires=['pymsgbox', 'PyTweening>=1.0.1', 'Pillow...
Adding pyscreeze dependency
py
diff --git a/stacker_blueprints/empire/empire_base.py b/stacker_blueprints/empire/empire_base.py index <HASH>..<HASH> 100644 --- a/stacker_blueprints/empire/empire_base.py +++ b/stacker_blueprints/empire/empire_base.py @@ -26,6 +26,9 @@ class EmpireBase(Blueprint): def create_autoscaling_group(self): logg...
Raise an Exception if generate_seed_contents method isn't defined
py
diff --git a/backtrader/plot/plot.py b/backtrader/plot/plot.py index <HASH>..<HASH> 100644 --- a/backtrader/plot/plot.py +++ b/backtrader/plot/plot.py @@ -339,6 +339,9 @@ class Plot(six.with_metaclass(MetaParams, object)): # Set specific or generic ticks yticks = ind.plotinfo._get('plotytick...
plot - plotyhlines added as shortcut to join plothlines/plotyticks
py
diff --git a/moto/elbv2/models.py b/moto/elbv2/models.py index <HASH>..<HASH> 100644 --- a/moto/elbv2/models.py +++ b/moto/elbv2/models.py @@ -113,7 +113,10 @@ class FakeTargetGroup(BaseModel): elbv2_backend = elbv2_backends[region_name] - name = properties.get('Name') + # per cloudformation ...
Add default name to TargetGroup (cloudformation)
py
diff --git a/bcbio/rnaseq/cufflinks.py b/bcbio/rnaseq/cufflinks.py index <HASH>..<HASH> 100644 --- a/bcbio/rnaseq/cufflinks.py +++ b/bcbio/rnaseq/cufflinks.py @@ -93,7 +93,7 @@ def _get_output_dir(align_file, data, sample_dir=True): def assemble(bam_file, ref_file, num_cores, out_dir, data): out_dir = os.path.joi...
Return proper output for transcriptome assembly. This was broken by this fix: <I>b<I>b<I>b<I>b8.
py
diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index <HASH>..<HASH> 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -70,7 +70,7 @@ def parse_args(): "slaves across multiple (an additional $0.01/Gb for bandwidth" + "between zones applies)") parser.add_option("-a", "--ami", help="Amaz...
Merge pull request #<I> from shivaram/master. Update spark_ec2 to use <I> by default Backports change from branch-<I>
py
diff --git a/headers/runtests.py b/headers/runtests.py index <HASH>..<HASH> 100755 --- a/headers/runtests.py +++ b/headers/runtests.py @@ -65,6 +65,7 @@ def DiffGoldenFile(test_type, test_name, output_lines, expected_file): def RunGoldenTests(generate_output): start_cwd = os.path.abspath(os.getcwd()) + exit_...
Actually return failure when the golden files are diff git-svn-id: <URL>
py
diff --git a/aiohttp_json_rpc/auth/django.py b/aiohttp_json_rpc/auth/django.py index <HASH>..<HASH> 100644 --- a/aiohttp_json_rpc/auth/django.py +++ b/aiohttp_json_rpc/auth/django.py @@ -24,11 +24,6 @@ class DjangoAuthBackend(AuthBackend): return AnonymousUser() def _is_authorized(self, request, method)...
auth: django: fix user tests run_tests returned None or False in any case. So even authorized users couldn't access methods marked with user_passes_test
py
diff --git a/webwhatsapp.py b/webwhatsapp.py index <HASH>..<HASH> 100644 --- a/webwhatsapp.py +++ b/webwhatsapp.py @@ -66,7 +66,7 @@ class WhatsAPIDriver(object): if "Click to reload QR code" in self.driver.page_source: self.reloadQRCode() qr = self.driver.find_element_by_css_selector(sel...
Added '.png' extension
py
diff --git a/spyderlib/widgets/dataframeeditor.py b/spyderlib/widgets/dataframeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/dataframeeditor.py +++ b/spyderlib/widgets/dataframeeditor.py @@ -383,7 +383,7 @@ class DataFrameEditor(QDialog): size = 1 for dim in dataFrame.shape: ...
Lowered the number of element for warning to 1e6
py
diff --git a/ceam/framework/randomness.py b/ceam/framework/randomness.py index <HASH>..<HASH> 100644 --- a/ceam/framework/randomness.py +++ b/ceam/framework/randomness.py @@ -90,7 +90,7 @@ class RandomnessStream: self.seed = seed def _key(self, additional_key=None): - return '_'.join([self.key, s...
Fix bug with seeds and allow alternate start dates for tests
py
diff --git a/stanza/utils/datasets/ner/prepare_ner_file.py b/stanza/utils/datasets/ner/prepare_ner_file.py index <HASH>..<HASH> 100644 --- a/stanza/utils/datasets/ner/prepare_ner_file.py +++ b/stanza/utils/datasets/ner/prepare_ner_file.py @@ -34,8 +34,8 @@ def process_dataset(input_filename, output_filename): ...
Add indentation to the json rather than saving it in one large dump
py
diff --git a/pythran/optimizations.py b/pythran/optimizations.py index <HASH>..<HASH> 100644 --- a/pythran/optimizations.py +++ b/pythran/optimizations.py @@ -103,10 +103,7 @@ class ConstantFolding(Transformation): node.value if isinstance(node, ast.Index) else node) code = com...
Cleaner exception handling in ConstantFolding
py
diff --git a/geomdl/BSpline.py b/geomdl/BSpline.py index <HASH>..<HASH> 100644 --- a/geomdl/BSpline.py +++ b/geomdl/BSpline.py @@ -436,7 +436,6 @@ class Surface(abstract.Surface): self._evaluator = evaluators.SurfaceEvaluator(find_span_func=self._span_func) self._tsl_component = tessellate.TriangularT...
Fix a typo in the surface derivative method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,8 +6,6 @@ import sys import logging from os import path -log = logging.getLogger() - # check availability of runtime dependencies def check_any(*packages): """Issue a warning if none of the packages is available....
Fix logging in setup.py logging requires a call to logging.basicConfig before logging.getLogger is useful.
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -49,7 +49,7 @@ if on_rtd: 'past', 'past.builtins', 'scipy', 'scipy.linalg', 'scipy.sparse', 'scipy.sparse.base', 'scipy.interpola...
BUG: remove numpy mock to allow read the docs to use it
py
diff --git a/pipenv/patched/pew/pew.py b/pipenv/patched/pew/pew.py index <HASH>..<HASH> 100644 --- a/pipenv/patched/pew/pew.py +++ b/pipenv/patched/pew/pew.py @@ -153,7 +153,16 @@ def fork_shell(env, shellcmd, cwd): if 'VIRTUAL_ENV' in os.environ: err("Be aware that this environment will be nested on top ...
Suppress subshell errors for CMD and Powershell
py
diff --git a/sc2players/__version__.py b/sc2players/__version__.py index <HASH>..<HASH> 100644 --- a/sc2players/__version__.py +++ b/sc2players/__version__.py @@ -17,6 +17,6 @@ See the License for the specific language governing permissions and limitations under the License. """ -VERSION = (0, 3, 2) +VERSION = (0, ...
- bumped version to denote working basic test import / package
py
diff --git a/superset/viz.py b/superset/viz.py index <HASH>..<HASH> 100644 --- a/superset/viz.py +++ b/superset/viz.py @@ -42,6 +42,7 @@ from markdown import markdown import numpy as np import pandas as pd from pandas.tseries.frequencies import to_offset +from pandas.tseries.offsets import DateOffset import polylin...
Fix for new Pandas API (#<I>)
py
diff --git a/api/python/quilt3/session.py b/api/python/quilt3/session.py index <HASH>..<HASH> 100644 --- a/api/python/quilt3/session.py +++ b/api/python/quilt3/session.py @@ -34,7 +34,7 @@ def _save_auth(cfg): json.dump(cfg, fd) def _load_credentials(): - if AUTH_PATH.exists(): + if CREDENTIALS_PATH.e...
Fix a typo in the credentials logic (#<I>) Causes an exception when accessing S3 if the user has never logged into the registry.
py
diff --git a/application/setup.py b/application/setup.py index <HASH>..<HASH> 100644 --- a/application/setup.py +++ b/application/setup.py @@ -42,6 +42,7 @@ setup( 'python-gnupg', 'repoze.xmliter', 'Paste', + 'watchdog', ], extras_require={ 'development': [
we (apparently) now require the watchdog module
py
diff --git a/testing/test_collection.py b/testing/test_collection.py index <HASH>..<HASH> 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -957,6 +957,15 @@ def test_collect_init_tests(testdir): "*<Function 'test_foo'>", ] ) + result = testdir.runpytest("./tests"...
Add test for __init__.py collection with package directory as argument
py
diff --git a/appinst/application_menus.py b/appinst/application_menus.py index <HASH>..<HASH> 100644 --- a/appinst/application_menus.py +++ b/appinst/application_menus.py @@ -54,7 +54,8 @@ def get_default_menu(defaults): 'name': defaults['Manufacturer'], 'sub-menus': [ { # ver...
Key names were being lowercased before the formatting substitution, resulting in a KeyError.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup(name='pyemir', test_suite="nose.collector", install_requires=['setuptools', 'numpy', 'pyfits', 'scipy', 'sphinx', 'pyxdg', 'simplejson', 'nose', - 'matplotlib'], + 'matplotlib', 'numdis...
Added numdisplay to requires
py
diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index <HASH>..<HASH> 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -1577,7 +1577,7 @@ class Group: # This is pretty hacky # It allows the module to be fetched if s...
Fix KeyError constructing groups when no module is present
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup( "Programming Language :: Python :: 3.4" ], keywords='audio music sound', - license='GPL', + license='MIT', install_requires=[ 'audioread', 'jams',
Updated license Former-commit-id: <I>b4a<I>ff<I>e<I>a<I>c<I>cac<I>a1a<I>fa9 Former-commit-id: <I>f3d<I>c<I>a4a8b<I>a<I>eaf<I>b8
py
diff --git a/aomi/model/auth.py b/aomi/model/auth.py index <HASH>..<HASH> 100644 --- a/aomi/model/auth.py +++ b/aomi/model/auth.py @@ -274,6 +274,11 @@ class LDAPGroup(Resource): "policies": obj['policies'] } + def fetch(self, vault_client): + super(LDAPGroup, self).fetch(vault_client)...
consistent use of ldap group policies
py
diff --git a/tests/unit/test_logging.py b/tests/unit/test_logging.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_logging.py +++ b/tests/unit/test_logging.py @@ -3,12 +3,9 @@ from pmxbot import logging class TestMongoDBLogging: def setup_logging(self, mongodb_uri): - logger = logging.Logger.from_URI(mongodb_...
Specify the database name in the URI to cause the full text index to be initialized in the proper database during full text index detection.
py
diff --git a/linguist/models/base.py b/linguist/models/base.py index <HASH>..<HASH> 100644 --- a/linguist/models/base.py +++ b/linguist/models/base.py @@ -57,7 +57,7 @@ class Translation(models.Model): language = models.CharField( max_length=10, - verbose_name=_('locale'), + verbose_name=_...
Fix language field verbose name.
py
diff --git a/task_utils/pipe.py b/task_utils/pipe.py index <HASH>..<HASH> 100644 --- a/task_utils/pipe.py +++ b/task_utils/pipe.py @@ -238,13 +238,15 @@ else: return self._deserialize(msg) - def zmq_tcp_pipe_end(ctx, side, *, port=0): + def zmq_tcp_pipe_end(ctx, side, *, host=None, port=0): ...
allow for alternative host to be specified in zmq_tcp_pipe_end
py
diff --git a/salt/modules/apt.py b/salt/modules/apt.py index <HASH>..<HASH> 100644 --- a/salt/modules/apt.py +++ b/salt/modules/apt.py @@ -361,6 +361,7 @@ def install(name=None, Passes ``--force-yes`` to the apt-get command. Don't use this unless you know what you're doing. + .. versionadded...
Note that the force_yes parameter to install was added to apt.py in <I> Fixes issue #<I>
py
diff --git a/vtki/qt_plotting.py b/vtki/qt_plotting.py index <HASH>..<HASH> 100644 --- a/vtki/qt_plotting.py +++ b/vtki/qt_plotting.py @@ -16,14 +16,18 @@ log = logging.getLogger(__name__) log.setLevel('DEBUG') -# dummy reference for when PyQt5 is not installed +# dummy reference for when PyQt5 is not installed (i...
fix for read the docs and py<I> build
py
diff --git a/GPy/likelihoods/mixed_noise.py b/GPy/likelihoods/mixed_noise.py index <HASH>..<HASH> 100644 --- a/GPy/likelihoods/mixed_noise.py +++ b/GPy/likelihoods/mixed_noise.py @@ -23,7 +23,7 @@ class MixedNoise(Likelihood): variance = np.zeros(ind.size) for lik, j in zip(self.likelihoods_list, rang...
[mixed_noise] variance shape
py
diff --git a/pycoin/tx/script/check_signature.py b/pycoin/tx/script/check_signature.py index <HASH>..<HASH> 100644 --- a/pycoin/tx/script/check_signature.py +++ b/pycoin/tx/script/check_signature.py @@ -48,7 +48,7 @@ def op_checksig(stack, signature_for_hash_type_f, expected_hash_type, tmp_script public_pair =...
Fixed last test in bc_transaction_test.py.
py
diff --git a/examples/xdamage.py b/examples/xdamage.py index <HASH>..<HASH> 100644 --- a/examples/xdamage.py +++ b/examples/xdamage.py @@ -76,7 +76,7 @@ def main(): d = display.Display() root = d.screen().root - checkExt(d) + check_ext(d) colormap = d.screen().default_colormap red = colorm...
Update xdamage.py
py
diff --git a/instana/instrumentation/pymongo.py b/instana/instrumentation/pymongo.py index <HASH>..<HASH> 100644 --- a/instana/instrumentation/pymongo.py +++ b/instana/instrumentation/pymongo.py @@ -24,7 +24,7 @@ try: self._collect_command_tags(scope.span, event) # include collection...
PyMongo: Fix key lookup (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,8 +25,6 @@ setup( url='https://github.com/drongo-framework/drongo', include_package_data=True, install_requires=[ - 'passlib', - 'pymongo', 'six', ], zip_safe=False,
Removing wrong requirements in drongo.
py
diff --git a/zappa/zappa.py b/zappa/zappa.py index <HASH>..<HASH> 100644 --- a/zappa/zappa.py +++ b/zappa/zappa.py @@ -398,8 +398,8 @@ class Zappa(object): # Then the pre-compiled packages.. if use_precompiled_packages: print("Downloading and installing dependencies..") - insta...
why was that a dict and not a list
py
diff --git a/km3pipe/calib.py b/km3pipe/calib.py index <HASH>..<HASH> 100644 --- a/km3pipe/calib.py +++ b/km3pipe/calib.py @@ -221,7 +221,7 @@ class Calibration(Module): "t0": t0, } hits_data.update(calib) - if correct_slewing: + if correct_slewing and hasattr(hits, "tot"): ...
Don't correct time slew for MC hits
py
diff --git a/tests/test_parsing.py b/tests/test_parsing.py index <HASH>..<HASH> 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -52,10 +52,10 @@ class TestEggFragmentParsing(TestCase): self.assertEqual('somelib', _parse_egg_name('egg=somelib')) def test_no_egg_value(self): - sel...
Changing test method from assertIsNone to assertTrue(x is None) for compatability with Python <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,9 @@ class build_ext(old_build_ext): # For MS Visual C, we use /O1 instead of the default /Ox, # as /Ox takes a long time (~20 mins) to compile. # The speed of the code isn't no...
Numexpr wouldn't compile on windows under MSVC, because self.compiler was being modified before it was initialized..
py
diff --git a/tests/test_use.py b/tests/test_use.py index <HASH>..<HASH> 100644 --- a/tests/test_use.py +++ b/tests/test_use.py @@ -179,8 +179,8 @@ class TestSocket(object): def test_request(self): """Test to ensure requesting data from a socket service works as expected""" - data = self.tcp_servi...
fix unit test (test_request) which I broke while fixing PEP8 issues
py
diff --git a/analyzers/PhishingInitiative/phishinginitiative_scan.py b/analyzers/PhishingInitiative/phishinginitiative_scan.py index <HASH>..<HASH> 100755 --- a/analyzers/PhishingInitiative/phishinginitiative_scan.py +++ b/analyzers/PhishingInitiative/phishinginitiative_scan.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#...
missing python3 in shebang #<I>
py
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -639,7 +639,7 @@ class PythonLanguage(object): return [config.build for config in self.pythons] def post_tests_steps(self): - if self...
Make Python generate coverage report in gcov mode
py
diff --git a/fbchat/client.py b/fbchat/client.py index <HASH>..<HASH> 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -24,6 +24,7 @@ from .models import * from .stickers import * import time import sys +import traceback # Python 3 does not have raw_input, whereas Python 2 has and it's more secure try: @@...
Swapped out for a better error output. You had no idea where errors occured before.
py
diff --git a/pybooru/pybooru.py b/pybooru/pybooru.py index <HASH>..<HASH> 100755 --- a/pybooru/pybooru.py +++ b/pybooru/pybooru.py @@ -166,6 +166,26 @@ class Pybooru(object): else: return self._url_build(sel.forum_url) + def pools(self, query=None, page=1): + self.pools_url = '/pool/index.json?' + + if query...
Add support pools and pools_posts
py
diff --git a/pyxray/data.py b/pyxray/data.py index <HASH>..<HASH> 100644 --- a/pyxray/data.py +++ b/pyxray/data.py @@ -134,7 +134,7 @@ def _init_sql_database(): .format(filepath)) global connection - connection = sqlite3.connect(filepath) + connection = sqlite3.connect(filepath,...
Allow multi threading of SQLite database. Note that the build is single-thread.
py
diff --git a/github/MainClass.py b/github/MainClass.py index <HASH>..<HASH> 100644 --- a/github/MainClass.py +++ b/github/MainClass.py @@ -283,8 +283,8 @@ class Github(object): :calls: `GET /repos/:owner/:repo <http://developer.github.com/v3/repos>`_ or `GET /repositories/:id <http://developer.github.com/v3/re...
Fix redundant int checks (#<I>)
py
diff --git a/tweak/__init__.py b/tweak/__init__.py index <HASH>..<HASH> 100755 --- a/tweak/__init__.py +++ b/tweak/__init__.py @@ -132,7 +132,7 @@ class Config(collections.MutableMapping): def config_representer(dumper, obj): return dumper.represent_mapping(yaml.resolver.BaseResolver.DEFAU...
Prevent yaml from using flow style
py
diff --git a/openquakeserver/engine/views.py b/openquakeserver/engine/views.py index <HASH>..<HASH> 100644 --- a/openquakeserver/engine/views.py +++ b/openquakeserver/engine/views.py @@ -8,6 +8,7 @@ import urlparse from django.http import HttpResponse from django.shortcuts import render +from django.shortcuts impor...
engine/views: POSTing to /calc/hazard|risk/run will now redirect to /calc/hazard|risk/:calc_id.
py
diff --git a/test/merge_test.py b/test/merge_test.py index <HASH>..<HASH> 100644 --- a/test/merge_test.py +++ b/test/merge_test.py @@ -882,8 +882,7 @@ class MergeTestCase(unittest.TestCase): actual_file.close() module_outdir = os.path.join(module_testdir,"output") - pr...
EX-<I>(kmeng): Fixed one more test to make travis happy.
py
diff --git a/mockito_test/smart_test_runner.py b/mockito_test/smart_test_runner.py index <HASH>..<HASH> 100644 --- a/mockito_test/smart_test_runner.py +++ b/mockito_test/smart_test_runner.py @@ -1,8 +1,13 @@ import unittest -import os +import sys, os import re def run(): + if '--quiet' in sys.argv: + ...
Added --quiet option to the smart test-runner
py
diff --git a/optoanalysis/optoanalysis/Saleae/Saleae.py b/optoanalysis/optoanalysis/Saleae/Saleae.py index <HASH>..<HASH> 100644 --- a/optoanalysis/optoanalysis/Saleae/Saleae.py +++ b/optoanalysis/optoanalysis/Saleae/Saleae.py @@ -119,4 +119,4 @@ def interpret_waveform(fileContent, RelativeChannelNo): time = _np...
changed returned time parameters to the standardized form of the LeCroy.py
py
diff --git a/GPy/models/sparse_GP.py b/GPy/models/sparse_GP.py index <HASH>..<HASH> 100644 --- a/GPy/models/sparse_GP.py +++ b/GPy/models/sparse_GP.py @@ -84,7 +84,6 @@ class sparse_GP(GP): else: tmp = self.psi1*(np.sqrt(self.likelihood.precision)/sf) self.psi2_beta_scaled = n...
removed unnecessary computation of psi2
py
diff --git a/galpy/orbit_src/Orbit.py b/galpy/orbit_src/Orbit.py index <HASH>..<HASH> 100644 --- a/galpy/orbit_src/Orbit.py +++ b/galpy/orbit_src/Orbit.py @@ -48,7 +48,7 @@ class Orbit(object): 1) in Galactocentric cylindrical coordinates [R,vR,vT(,z,vz,phi)]; can be Quantities - 2) astr...
Specify that SkyCoord, radec, and lb initialization turn on physical output
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -157,7 +157,7 @@ def grains(opts): salt.config.load_config( pre_opts, opts['conf_file'], 'SALT_MINION_CONFIG' ) - default_include = pre_opts.get('default_include', ...
Fix #<I> Fix error when grains are in minion.d/ If the 'default_include' directive was commented out, any grains existing in the minion.d/*conf files would fail in states. The grains would appear in salt-call -g
py