diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/qpu/test_dwavesampler.py b/tests/qpu/test_dwavesampler.py index <HASH>..<HASH> 100644 --- a/tests/qpu/test_dwavesampler.py +++ b/tests/qpu/test_dwavesampler.py @@ -149,5 +149,10 @@ class TestClientSelection(unittest.TestCase): self.assertEqual(DWaveSampler(client='hybrid').client, hybrid...
Fix test for base client selection in DWaveSampler
py
diff --git a/wandb/sdk/lib/ipython.py b/wandb/sdk/lib/ipython.py index <HASH>..<HASH> 100644 --- a/wandb/sdk/lib/ipython.py +++ b/wandb/sdk/lib/ipython.py @@ -9,8 +9,8 @@ logger = logging.getLogger(__name__) TABLE_STYLES = """<style> - table.wandb td:nth-child(1) { padding: 0 10px; text-align: right } - .wan...
[WB-<I>] Align summary/history in notebook env (#<I>) * fix content alignment
py
diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py index <HASH>..<HASH> 100644 --- a/openpnm/core/Base.py +++ b/openpnm/core/Base.py @@ -175,6 +175,17 @@ class Base(dict): prop = item.replace('pore.', '').replace('throat.', '') self.__setitem__(key+'.'+prop, value[item]) ...
Adding checks to prevent naming like 'pore.foo' and 'pore.foo.bar'
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -63,8 +63,8 @@ DEV_REQUIRES = TEST_REQUIRES + DOCS_REQUIRES + ( # Dev debugging 'ipython', - 'ipdb==0.10.3', - 'ipdbplugin==1.4.5', + 'ipdb', + 'ipdbplugin', # Lint spellchecking, dev only (don't...
Don't pin dev debug requirements.
py
diff --git a/salt/netapi/rest_tornado/saltnado.py b/salt/netapi/rest_tornado/saltnado.py index <HASH>..<HASH> 100644 --- a/salt/netapi/rest_tornado/saltnado.py +++ b/salt/netapi/rest_tornado/saltnado.py @@ -941,19 +941,12 @@ class SaltAPIHandler(BaseSaltAPIHandler, SaltClientsMixIn): ''' Disbatch runn...
Remove timeout from runner disbatch
py
diff --git a/cmsplugin_zinnia/admin.py b/cmsplugin_zinnia/admin.py index <HASH>..<HASH> 100644 --- a/cmsplugin_zinnia/admin.py +++ b/cmsplugin_zinnia/admin.py @@ -16,7 +16,7 @@ class EntryPlaceholderAdmin(PlaceholderAdminMixin, EntryAdmin): EntryPlaceholder Admin """ fieldsets = ( - (None, {'field...
Update the fields in admin accordingly to the new version of Zinnia
py
diff --git a/phono3py/phonon3/__init__.py b/phono3py/phonon3/__init__.py index <HASH>..<HASH> 100644 --- a/phono3py/phonon3/__init__.py +++ b/phono3py/phonon3/__init__.py @@ -44,8 +44,7 @@ from phonopy.harmonic.force_constants import ( set_translational_invariance, set_permutation_symmetry) from phonopy.harm...
Follow update of phonopy
py
diff --git a/enocean/protocol/constants.py b/enocean/protocol/constants.py index <HASH>..<HASH> 100644 --- a/enocean/protocol/constants.py +++ b/enocean/protocol/constants.py @@ -22,7 +22,7 @@ class RETURN_CODE(IntEnum): OK = 0x00 ERROR = 0x01 NOT_SUPPORTED = 0x02 - WRONG_PARAM = 0x04 + WRONG_PARAM...
Mistake in RETURN_CODE
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,6 +51,7 @@ autodoc_mock_imports = [ 'yaml', 'xmltodict', 'wrapt', + 'netaddr', ] autodoc_default_flags = [
Adding netaddr to docs conf
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -51,7 +51,7 @@ copyright = "2015, Atsushi Togo" # The short X.Y version. version = "2.3" # The full version, including alpha/beta/rc tags. -release = "2.3.0" +release = "2.3.1" # The language for content auto...
Set version <I> of doc/conf.py
py
diff --git a/fontbakery-check-ttf.py b/fontbakery-check-ttf.py index <HASH>..<HASH> 100755 --- a/fontbakery-check-ttf.py +++ b/fontbakery-check-ttf.py @@ -1267,7 +1267,7 @@ def main(): #----------------------------------------------- logging.debug("METADATA.pb fonts 'name' property should be same ...
fix bug in test: "METADATA.pb fonts 'name' property should be same as font familyname"
py
diff --git a/plugins/oauth/server/providers/base.py b/plugins/oauth/server/providers/base.py index <HASH>..<HASH> 100644 --- a/plugins/oauth/server/providers/base.py +++ b/plugins/oauth/server/providers/base.py @@ -111,8 +111,8 @@ class ProviderBase(model_importer.ModelImporter): resp.raise_for_status() ...
Fix a small security issue in OAuth This prevents possibly private information from leaking in an error message.
py
diff --git a/icekit/publishing/apps.py b/icekit/publishing/apps.py index <HASH>..<HASH> 100644 --- a/icekit/publishing/apps.py +++ b/icekit/publishing/apps.py @@ -80,6 +80,13 @@ class AppConfig(AppConfig): @monkey_patch_override_method(UrlNodeQuerySet) def published(self, for_user=None): ...
Fix for Fluent-triggered `published` filtering in draft context When Fluent calls the `published` filter with a specific user and that user is in a DRAFT request context, ignore the fact we are in the `published` method and return draft items since we probably want to render one of them.
py
diff --git a/django_cas_ng/cas.py b/django_cas_ng/cas.py index <HASH>..<HASH> 100644 --- a/django_cas_ng/cas.py +++ b/django_cas_ng/cas.py @@ -33,8 +33,10 @@ class CASClient(object): class CASClientBase(object): def __init__(self, service_url=None, server_url=None, extra_login_params=None, renew...
Add missing proxy_callback to CASClientBase Caused errors whenever CASClientWithSAMLV1 was constructed.
py
diff --git a/assess_log_rotation.py b/assess_log_rotation.py index <HASH>..<HASH> 100755 --- a/assess_log_rotation.py +++ b/assess_log_rotation.py @@ -7,6 +7,7 @@ from argparse import ArgumentParser from datetime import datetime import logging import re +import sys from deploy_stack import ( dump_env_logs, @...
Return non-zero on failure, default bootstrap_host to None.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,6 +38,7 @@ if os.environ.get('READTHEDOCS', 0): mockapi.library = Mock('wand.api.library') mockapi.libmagick = Mock('wand.api.libmagick') mockapi.libc = Mock('wand.api.libc') + sys.modules...
Mock wand.image as well
py
diff --git a/test/test_email.py b/test/test_email.py index <HASH>..<HASH> 100644 --- a/test/test_email.py +++ b/test/test_email.py @@ -64,4 +64,4 @@ class TestEmailObject(unittest.TestCase): name = "Name, Some" email.name = name - self.assertEqual(email.name, name) + self.assertEqual(e...
Add quotes around expected value in new test
py
diff --git a/stagpy/stagyydata.py b/stagpy/stagyydata.py index <HASH>..<HASH> 100644 --- a/stagpy/stagyydata.py +++ b/stagpy/stagyydata.py @@ -363,6 +363,7 @@ class _Steps(dict): def __init__(self, sdat): self.sdat = sdat + self._last = UNDETERMINED super().__init__() def __setite...
Add `last` property to _Steps and _Snaps classes It looks for the last available time step/snashot. This will be useful to handle negative istep/isnap.
py
diff --git a/ceam_tests/util.py b/ceam_tests/util.py index <HASH>..<HASH> 100644 --- a/ceam_tests/util.py +++ b/ceam_tests/util.py @@ -153,3 +153,11 @@ def generate_test_population(event): event.population_view.update(population) + +def make_dummy_column(name, initial_value): + @listens_for('initialize_simu...
Added make_dummy_column to ceam_tests.util
py
diff --git a/telethon/client/auth.py b/telethon/client/auth.py index <HASH>..<HASH> 100644 --- a/telethon/client/auth.py +++ b/telethon/client/auth.py @@ -194,7 +194,7 @@ class AuthMethods(MessageParseMethods, UserMethods): return self async def sign_in( - self, phone=None, *, code=None, pass...
Revert sign_in needing named code argument
py
diff --git a/qualysapi/util.py b/qualysapi/util.py index <HASH>..<HASH> 100644 --- a/qualysapi/util.py +++ b/qualysapi/util.py @@ -5,6 +5,8 @@ import qualysapi.config as qcconf import qualysapi.connector as qcconn import qualysapi.settings as qcs +from urllib.parse import quote_plus + __author__ = "Parag Baxi <p...
fix special characters in password Applications using Qualys API module returns error when it has special characters like % or + etc, urllib.parse.quote_plus is a fix for such issues
py
diff --git a/wandb/run_manager.py b/wandb/run_manager.py index <HASH>..<HASH> 100644 --- a/wandb/run_manager.py +++ b/wandb/run_manager.py @@ -1170,7 +1170,10 @@ class RunManager(object): # and unconditionally start the status checker. if not self._agent_run: def stop_handler(): - ...
Handle case where run_manager.proc is a Popen object.
py
diff --git a/tests/test_client.py b/tests/test_client.py index <HASH>..<HASH> 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -12,6 +12,7 @@ except ImportError: import unittest from algoliasearch.client import Client, MAX_API_KEY_LENGTH +from algoliasearch.helpers import AlgoliaException from...
Fix the test on the DNS timeout for it to legitimately fail
py
diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py index <HASH>..<HASH> 100644 --- a/jax/numpy/lax_numpy.py +++ b/jax/numpy/lax_numpy.py @@ -2343,11 +2343,7 @@ def _static_idx(idx, size): """Helper function to compute the static slice start/limit/stride values.""" assert isinstance(idx, slice) start,...
Don't explicitly compute the length; we only need to know if the interval is empty.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,6 @@ from distutils.dir_util import remove_tree from distutils.spawn import spawn import os import sys -import shutil if os.environ.get('READTHEDOCS', None) == 'True': sys.exit("setup.py disabled on readth...
remove unused import The `shutil` import is no longer needed.
py
diff --git a/graphene/types/mutation.py b/graphene/types/mutation.py index <HASH>..<HASH> 100644 --- a/graphene/types/mutation.py +++ b/graphene/types/mutation.py @@ -76,7 +76,12 @@ class Mutation(ObjectType): super(Mutation, cls).__init_subclass_with_meta__(_meta=_meta, **options) @classmethod - def...
Enabled possibility of setting name, description or deprecation_reason in mutation Fields Fixed #<I>, $<I> #<I> and #<I>
py
diff --git a/numina/array/fwhm.py b/numina/array/fwhm.py index <HASH>..<HASH> 100644 --- a/numina/array/fwhm.py +++ b/numina/array/fwhm.py @@ -50,14 +50,19 @@ def compute_fwhm_2d_simple(img, xc, yc): def compute_fwhm_1d_simple(Y, xc, X=None): + '''Compute the FWHM.''' + return compute_fw_at_frac_max_1d_simpl...
Compute full with at a fraction of the peak (not only half)
py
diff --git a/assemblerflow/templates/metaspades.py b/assemblerflow/templates/metaspades.py index <HASH>..<HASH> 100644 --- a/assemblerflow/templates/metaspades.py +++ b/assemblerflow/templates/metaspades.py @@ -208,8 +208,8 @@ def main(sample_id, fastq_pair, max_len, kmer): # Get spades version for output name ...
metaspades.py: changed outputfile name (missing version - removed due to not being correctly parsed)
py
diff --git a/scout/server/config.py b/scout/server/config.py index <HASH>..<HASH> 100644 --- a/scout/server/config.py +++ b/scout/server/config.py @@ -22,8 +22,3 @@ ACCEPT_LANGUAGES = ['en', 'sv'] # FEATURE FLAGS SHOW_CAUSATIVES = False - -#MatchMaker related parameters -MME_ACCEPTS = 'application/vnd.ga4gh.matchma...
no need for test MME params in config file here
py
diff --git a/bibliopixel/main/main.py b/bibliopixel/main/main.py index <HASH>..<HASH> 100644 --- a/bibliopixel/main/main.py +++ b/bibliopixel/main/main.py @@ -23,7 +23,14 @@ def get_args(argv=sys.argv): if not argv: return - if argv and not argv[0].isidentifier() and '-h' not in argv: + # ...
Fix flags to `bp command` (and fix #<I>)
py
diff --git a/test/test_srv_polling.py b/test/test_srv_polling.py index <HASH>..<HASH> 100644 --- a/test/test_srv_polling.py +++ b/test/test_srv_polling.py @@ -88,6 +88,7 @@ class TestSrvPolling(unittest.TestCase): CONNECTION_STRING = "mongodb+srv://test1.test.build.10gen.cc" + @unittest.skipIf(sys.version_i...
PYTHON-<I> Skip failing dnspython SRV polling tests on Python 2
py
diff --git a/src/foremast/utils/apps.py b/src/foremast/utils/apps.py index <HASH>..<HASH> 100644 --- a/src/foremast/utils/apps.py +++ b/src/foremast/utils/apps.py @@ -48,7 +48,7 @@ def get_all_apps(): return pipelines -def get_details(app='groupproject', env='dev'): +def get_details(app='groupproject', env='de...
added regions to gogoutils generator
py
diff --git a/tweepy/cache.py b/tweepy/cache.py index <HASH>..<HASH> 100644 --- a/tweepy/cache.py +++ b/tweepy/cache.py @@ -8,7 +8,6 @@ import time import threading import os import hashlib -import fcntl import cPickle as pickle try:
Removed failing import of 'fcntl'
py
diff --git a/stutils/email_utils.py b/stutils/email_utils.py index <HASH>..<HASH> 100644 --- a/stutils/email_utils.py +++ b/stutils/email_utils.py @@ -18,15 +18,19 @@ def parse(raw_email): >>> parse("John Doe <me+github.com@someorg.com") ('me', 'someorg.com') - >>> parse(42) + >>> parse(42) # doctest...
fix(tests): make doctests Python3 compatible
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -13,11 +13,15 @@ import hashlib import tempfile import datetime import multiprocessing +import subprocess # Import zeromq import zmq from M2Crypto import RSA +# Import Third Party Libs +import...
Repair imports and spelling on ext_nodes
py
diff --git a/lib/autokey/iomediator/_iomediator.py b/lib/autokey/iomediator/_iomediator.py index <HASH>..<HASH> 100644 --- a/lib/autokey/iomediator/_iomediator.py +++ b/lib/autokey/iomediator/_iomediator.py @@ -58,7 +58,7 @@ class IoMediator(threading.Thread): def shutdown(self): _logger.debug("IoMediator...
Fixed thrown Exception in the shutdown logic. Bug was merged into master in commit <I>b<I>e<I>a<I>b<I>e<I>a9fade<I>cfb<I>c1
py
diff --git a/mutagen/id3.py b/mutagen/id3.py index <HASH>..<HASH> 100644 --- a/mutagen/id3.py +++ b/mutagen/id3.py @@ -856,14 +856,14 @@ class MCDI(Frame): # class SYTC: unsupported # class USLT: unsupported # class SYLT: unsupported -# HashKey = property(lambda s: '%s:%r:%s'%(s.FrameID, s.lang, s.desc)) +# ...
COMM: Swap lang/desc order in HashKey.
py
diff --git a/tests/integration/py2/nupic/opf/expgenerator_test.py b/tests/integration/py2/nupic/opf/expgenerator_test.py index <HASH>..<HASH> 100755 --- a/tests/integration/py2/nupic/opf/expgenerator_test.py +++ b/tests/integration/py2/nupic/opf/expgenerator_test.py @@ -117,8 +117,11 @@ class ExperimentTestBaseClass(He...
Fixed running of expgenerator_test with py.test
py
diff --git a/examples/mysql_example/mysql_example.py b/examples/mysql_example/mysql_example.py index <HASH>..<HASH> 100644 --- a/examples/mysql_example/mysql_example.py +++ b/examples/mysql_example/mysql_example.py @@ -9,8 +9,9 @@ With such a large set of input data, we cannot store all the comparisons we need to make...
added link to annotated mysql_init_db
py
diff --git a/pymbar/timeseries.py b/pymbar/timeseries.py index <HASH>..<HASH> 100644 --- a/pymbar/timeseries.py +++ b/pymbar/timeseries.py @@ -775,7 +775,7 @@ def detectEquilibration(A_t, fast=True, nskip=1): return (t, g, Neff_max) -def statisticalInefficiency_fft(A_n, mintime=3, memsafe=False): +def statisti...
set memsafe=True by default
py
diff --git a/spyderlib/widgets/ipython.py b/spyderlib/widgets/ipython.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/ipython.py +++ b/spyderlib/widgets/ipython.py @@ -557,6 +557,8 @@ class IPythonClient(QWidget, SaveHistoryMixin): def _create_loading_page(self): loading_template = Template(LOADIN...
IPython Console: Fix javascript alert on Windows about not being able to load the throbber image
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -16,7 +16,7 @@ class API(object): def __init__(self, auth_handler=None, host='api.twitter.com', search_host='search.twitter.com', - cache=None, secure=False, api_root='/1', s...
Use Twitter <I> and use secure by default.
py
diff --git a/tools/scheduler.py b/tools/scheduler.py index <HASH>..<HASH> 100644 --- a/tools/scheduler.py +++ b/tools/scheduler.py @@ -437,7 +437,8 @@ class MPIScheduler(SubmitScheduler): def try_to_start_mpi(self, command, tasks, items): if self.p: - self.p.kill() + try: self.p.ki...
catch exception when mpirun has exited.
py
diff --git a/volapi/volapi.py b/volapi/volapi.py index <HASH>..<HASH> 100644 --- a/volapi/volapi.py +++ b/volapi/volapi.py @@ -539,7 +539,7 @@ class Room: options = data['options'] admin = 'admin' in options or 'staff' in options - user = 'user' in options or admin + user = ('user' in ...
MOTD is not actually a user
py
diff --git a/shap/explainers/_explainer.py b/shap/explainers/_explainer.py index <HASH>..<HASH> 100644 --- a/shap/explainers/_explainer.py +++ b/shap/explainers/_explainer.py @@ -73,7 +73,11 @@ class Explainer(): else: self.masker = maskers.Independent(masker) elif safe_isinstance...
Added auto assignment of mask token for transformer model with lm head for text infilling
py
diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py index <HASH>..<HASH> 100644 --- a/tests/python/unittest/test_operator.py +++ b/tests/python/unittest/test_operator.py @@ -2072,7 +2072,9 @@ def correlation_backward(out_grad,tmp1,tmp2,data1,data2,pad_size,kernel_size,str def u...
Force the dtype of data to be float<I> for test_correlation (#<I>)
py
diff --git a/ckeditor_filebrowser_filer/views.py b/ckeditor_filebrowser_filer/views.py index <HASH>..<HASH> 100644 --- a/ckeditor_filebrowser_filer/views.py +++ b/ckeditor_filebrowser_filer/views.py @@ -39,7 +39,10 @@ def url_image(request, image_id, thumb_options=None, width=None, height=None): :return: JSON seri...
Add canonical url if present
py
diff --git a/testing/test_python.py b/testing/test_python.py index <HASH>..<HASH> 100644 --- a/testing/test_python.py +++ b/testing/test_python.py @@ -1664,6 +1664,24 @@ class TestFuncargFactory: "*2 passed*" ]) + @pytest.mark.xfail(reason="factorydef passed to tw.line") + def test_factory...
add xfailing test for issue <I>
py
diff --git a/txkoji/task.py b/txkoji/task.py index <HASH>..<HASH> 100644 --- a/txkoji/task.py +++ b/txkoji/task.py @@ -131,6 +131,7 @@ class Task(Munch): """ # (I wish there was a better way to do this.) source = self.params[0] + o = urlparse(source) # build tasks can load an ...
task: handle arbitrary SCM schemes Prior to this change we would only parse a task's SCM source if the URL started with "git://". In Fedora's Koji they use "git+https://", so this doesn't work. As long as the urlparse() method can determine any scheme here, we should treat the value as a valid URL and attempt to par...
py
diff --git a/gwpy/timeseries/timeseries.py b/gwpy/timeseries/timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/timeseries.py +++ b/gwpy/timeseries/timeseries.py @@ -434,7 +434,7 @@ class TimeSeries(TimeSeriesBase): # calculate PSD using UI method return fft_ui.average_spectrogram(self, m...
TimeSeries.spectrogram: fixed missing kwarg need to actually pass on the window function
py
diff --git a/dipper/models/Genotype.py b/dipper/models/Genotype.py index <HASH>..<HASH> 100644 --- a/dipper/models/Genotype.py +++ b/dipper/models/Genotype.py @@ -383,9 +383,15 @@ class Genotype(): """ - if part_relationship is None: + # Fail loudly if parent or child identifiers are None + ...
fail hard if None is propagating (force upstream fix)
py
diff --git a/bcbio/variation/prioritize.py b/bcbio/variation/prioritize.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/prioritize.py +++ b/bcbio/variation/prioritize.py @@ -52,7 +52,7 @@ def _apply_priority_filter(in_file, priority_file, data): out_handle.write(header) if "tumoronly_...
Tumor-only prioritization: do not filter inputs with COSMIC support When we had known database support of a variant (`EPR=pass,cosmic`) this would result in filtering due to the second item not also being pass. bcftools uses `or` instead of `and` logic to check multiple fields: <URL>
py
diff --git a/python/herald/shell.py b/python/herald/shell.py index <HASH>..<HASH> 100644 --- a/python/herald/shell.py +++ b/python/herald/shell.py @@ -92,14 +92,14 @@ class HeraldCommands(object): """ Post a message to the given peer. """ - def callback(herald, message): + def c...
Correction according to PyLint - Avoid to use "herald" as parameter name (name collision)
py
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/plot.py +++ b/holoviews/plotting/plot.py @@ -376,7 +376,7 @@ class CompositePlot(Plot): for path, item in self.layout.items(): if self.uniform: dim_keys = zip(...
Fix to CompositePlot.get_frame method Fixes per frame normalization across a Layout
py
diff --git a/anoncreds/__metadata__.py b/anoncreds/__metadata__.py index <HASH>..<HASH> 100644 --- a/anoncreds/__metadata__.py +++ b/anoncreds/__metadata__.py @@ -1,7 +1,7 @@ """ Package metadata """ -__version_info__ = (0, 1, 2) +__version_info__ = (0, 1, 3) __version__ = '{}.{}.{}'.format(*__version_info__) __au...
advanced version to push to pypi
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -__version__ =...
Update Pyrogram to <I>
py
diff --git a/atrcopy/__init__.py b/atrcopy/__init__.py index <HASH>..<HASH> 100644 --- a/atrcopy/__init__.py +++ b/atrcopy/__init__.py @@ -66,7 +66,6 @@ def find_diskimage(filename): continue if options.verbose: print "Found parser %s" % parser.menu_name - ...
Skip the disk image summary print on crc command
py
diff --git a/suds/sax/date.py b/suds/sax/date.py index <HASH>..<HASH> 100644 --- a/suds/sax/date.py +++ b/suds/sax/date.py @@ -256,8 +256,7 @@ class FixedOffsetTimezone(datetime.tzinfo, UnicodeMixin): total_seconds = self.__offset.total_seconds() else: total_seconds = (self.__offset.d...
simplify FixedOffsetTimezone name calculation Such timezones may not have offsets with more than minute precision so we can freely assume the offset's microseconds attribute is always 0.
py
diff --git a/tests/test_acf.py b/tests/test_acf.py index <HASH>..<HASH> 100644 --- a/tests/test_acf.py +++ b/tests/test_acf.py @@ -1,9 +1,9 @@ import io +import os import pytest from steamfiles import acf -test_file_name = 'tests/test_data/appmanifest_202970.acf' - +test_file_name = os.path.join(os.path.dirname(__...
Fix relative path not working properly <I>% of the time…
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "1.0.0b0" +_BASE_VERSION = "1.0.0b1" def _generate_version(base_version):
dvc: bump to <I>b1
py
diff --git a/raiden_contracts/deploy/__main__.py b/raiden_contracts/deploy/__main__.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/deploy/__main__.py +++ b/raiden_contracts/deploy/__main__.py @@ -102,7 +102,7 @@ def setup_ctx( web3 = Web3(HTTPProvider(rpc_provider, request_kwargs={"timeout": 60})) web3...
Added expanduser to the private key file This allows one to use a path with `~` in it. Which can be important for scripts that use double quotes to escape variables with space in it, e.g.: python -m raiden_contracts.deploy raiden --private-key "$PRIVATE_KEY"
py
diff --git a/confidence/io.py b/confidence/io.py index <HASH>..<HASH> 100644 --- a/confidence/io.py +++ b/confidence/io.py @@ -79,7 +79,6 @@ def read_envvars(name: str, extension: typing.Optional[str] = None) -> Configura for var, value in environ.items() # TODO: document ignoring envvar_f...
Pass values of environment variables to yaml.safe_load Should parse NAME_NS_KEY=5 as an int, rather than leaving it a str
py
diff --git a/ntcir_math_density/__main__.py b/ntcir_math_density/__main__.py index <HASH>..<HASH> 100644 --- a/ntcir_math_density/__main__.py +++ b/ntcir_math_density/__main__.py @@ -189,7 +189,11 @@ def main(): LOGGER.info("Pickling %s", args.positions.name) with gzip.open(args.positions.open("wb")...
Add support for pickling identifier positions (cont)
py
diff --git a/fudge/tests/test_fudge.py b/fudge/tests/test_fudge.py index <HASH>..<HASH> 100644 --- a/fudge/tests/test_fudge.py +++ b/fudge/tests/test_fudge.py @@ -4,7 +4,7 @@ import unittest import fudge from nose.tools import eq_, raises from fudge import ( - ExpectedCall, ExpectedCallOrder, Call, CallStack, Fak...
Added test for not enough calls error (when ordered)
py
diff --git a/titlecase/__init__.py b/titlecase/__init__.py index <HASH>..<HASH> 100755 --- a/titlecase/__init__.py +++ b/titlecase/__init__.py @@ -10,7 +10,7 @@ License: http://www.opensource.org/licenses/mit-license.php import re __all__ = ['titlecase'] -__version__ = '0.8.0' +__version__ = '0.8.1' SMALL = 'a|a...
Version bump to push patch to pypi
py
diff --git a/tests/test_mturk.py b/tests/test_mturk.py index <HASH>..<HASH> 100644 --- a/tests/test_mturk.py +++ b/tests/test_mturk.py @@ -1,5 +1,5 @@ import os -from nose.tools import assert_raises +from pytest import raises def creds_from_environment(): @@ -25,7 +25,7 @@ class TestMTurkService(object): def...
Switch to pytest for new tests
py
diff --git a/gwpy/timeseries/core.py b/gwpy/timeseries/core.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/core.py +++ b/gwpy/timeseries/core.py @@ -1159,15 +1159,17 @@ class TimeSeriesBaseDict(OrderedDict): # -- find frametype(s) if frametype is None: - frametypes = dict() - ...
TimeSeriesDict.find: use multi-channel find_frametype most of the time a user wants to find many channels in a single type, so should optimise to search for all in one
py
diff --git a/expynent/patterns.py b/expynent/patterns.py index <HASH>..<HASH> 100644 --- a/expynent/patterns.py +++ b/expynent/patterns.py @@ -299,6 +299,8 @@ LATITUDE = r'^(\+|-)?(?:90(?:(?:\.0{1,14})?)|(?:[0-9]|' \ LONGITUDE = r'^(\+|-)?(?:180(?:(?:\.0{1,14})?)|(?:[0-9]|[1-9]' \ r'[0-9]|1[0-7][0-9])(?:(...
Added RegEx pattern to match French phone numbers (with and without country code)
py
diff --git a/tests/test_util.py b/tests/test_util.py index <HASH>..<HASH> 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -3,6 +3,7 @@ import doctest import datascience as ds from datascience import util import numpy as np +import pytest def test_doctests(): results = doctest.testmod(util, option...
Added ValueError testing for util.table_apply as asked in issue #<I> Added ``ValueError`` testing for ``util.table_apply`` as asked in issue #<I>
py
diff --git a/django_tooling/management/commands/resetdb.py b/django_tooling/management/commands/resetdb.py index <HASH>..<HASH> 100644 --- a/django_tooling/management/commands/resetdb.py +++ b/django_tooling/management/commands/resetdb.py @@ -32,6 +32,7 @@ class Command(BaseCommand): counter += 1 ...
FIXED: resetdb command
py
diff --git a/nolearn/cache.py b/nolearn/cache.py index <HASH>..<HASH> 100644 --- a/nolearn/cache.py +++ b/nolearn/cache.py @@ -102,7 +102,7 @@ def cached(cache_key=default_cache_key, cache_path=None): # that's passed in via the decorator call # (`default_cache_key` by default). tr...
Fix breakage of Python 2 compatiblity
py
diff --git a/centinel/primitives/tls.py b/centinel/primitives/tls.py index <HASH>..<HASH> 100644 --- a/centinel/primitives/tls.py +++ b/centinel/primitives/tls.py @@ -32,6 +32,8 @@ def get_fingerprint(host, port=443, external=None, log_prefix=''): except ssl.SSLError: # exception could also happen here ...
add comment to TLS primitive to clarify the logic
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -46,7 +46,7 @@ with open('__nanoversion__.txt') as nv: nanoversion='%.4s' % (line.strip()) break if len(nanoversion)>0 : - nanoversion='+'+nanoversion + nanovers...
Use dot for nanoversion (pypi requirement).
py
diff --git a/pip_accel/tests.py b/pip_accel/tests.py index <HASH>..<HASH> 100644 --- a/pip_accel/tests.py +++ b/pip_accel/tests.py @@ -36,12 +36,13 @@ import stat import subprocess import sys import tempfile +import time import unittest # External dependencies. import coloredlogs from cached_property import ca...
Still trying to avoid removing "in use" files on Windows <URL>
py
diff --git a/querybuilder/query.py b/querybuilder/query.py index <HASH>..<HASH> 100644 --- a/querybuilder/query.py +++ b/querybuilder/query.py @@ -452,7 +452,14 @@ class Query(object): for table_dict in self.joins: - join_parts.append('{0} {1} ON {2} '.format(table_dict['join_type'], self.get_ta...
* Handle table alias in join condition
py
diff --git a/logzio/handler.py b/logzio/handler.py index <HASH>..<HASH> 100644 --- a/logzio/handler.py +++ b/logzio/handler.py @@ -88,13 +88,12 @@ class LogzioHandler(logging.Handler): return_json['exception'] = self.format_exception(message.exc_info) else: formatted_message = self.fo...
Fixed ignored extra fields when logging exceptions
py
diff --git a/tests/test_import.py b/tests/test_import.py index <HASH>..<HASH> 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -1,6 +1,5 @@ -#from sc2maptool import selectMap -#from sc2maptool.mapRecord import MapRecord +import sc2gameLobby -#def test_simple(): -# for m in selectMap(name="flat", mel...
Added bare minimum for a test
py
diff --git a/chess/variant.py b/chess/variant.py index <HASH>..<HASH> 100644 --- a/chess/variant.py +++ b/chess/variant.py @@ -465,7 +465,7 @@ class ThreeCheckBoard(chess.Board): def is_insufficient_material(self): return self.occupied == self.kings - # TODO: set FEN/EPD, zobrist hashing + # TODO:...
Remaining todo is zobrist hashing
py
diff --git a/__main__.py b/__main__.py index <HASH>..<HASH> 100644 --- a/__main__.py +++ b/__main__.py @@ -18,8 +18,8 @@ if __name__=='__main__': """ defs = getKnownLadders() ALLOWED_LADDERS = list(defs) - usage_def = "Available valid ladder values for NAME:%s %s"%(os.linesep, ("%s "%os.linesep)...
- renamed variable usage_def => description; better named for its intended usage
py
diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py index <HASH>..<HASH> 100644 --- a/systemd/test/test_daemon.py +++ b/systemd/test/test_daemon.py @@ -353,7 +353,7 @@ def test_daemon_notify_memleak(): try: notify('', True, 0, fds) - except ConnectionRefusedError: + except conne...
tests: python2-compat in another place
py
diff --git a/quick_cache.py b/quick_cache.py index <HASH>..<HASH> 100644 --- a/quick_cache.py +++ b/quick_cache.py @@ -157,7 +157,7 @@ class _CacheLock(object): if oldest_fp is None: if self._warnings is not None: self._warnings("cannot free enough space for quota ({0}...
fixed potential cache for too small caches
py
diff --git a/sorl/thumbnail/kvstores/cached_db_kvstore.py b/sorl/thumbnail/kvstores/cached_db_kvstore.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/kvstores/cached_db_kvstore.py +++ b/sorl/thumbnail/kvstores/cached_db_kvstore.py @@ -5,6 +5,7 @@ from sorl.thumbnail.conf import settings from sorl.thumbnail.models ...
Add blankline to appease flake8
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.5.0.dev20181116" +__version__ = "0.5.0.de...
release: <I>.de<I>
py
diff --git a/minio/helpers.py b/minio/helpers.py index <HASH>..<HASH> 100644 --- a/minio/helpers.py +++ b/minio/helpers.py @@ -437,6 +437,9 @@ def is_valid_bucket_notification_config(notifications): ]) NOTIFICATION_EVENTS = set([ + 's3:ObjectAccessed:*', + 's3:ObjectAccessed:Get', + 's3...
ObjectAccessed with Get and Head methods (#<I>)
py
diff --git a/zipline/algorithm.py b/zipline/algorithm.py index <HASH>..<HASH> 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -706,8 +706,7 @@ class TradingAlgorithm(object): @api_method def order_target_value(self, sid, target, - limit_price=None, stop_price=None, ...
MAINT: Removed unused keyword arg Deleted keyword arg include_open_orders, it was left over from working on handling open orders.
py
diff --git a/invenio_client/__init__.py b/invenio_client/__init__.py index <HASH>..<HASH> 100644 --- a/invenio_client/__init__.py +++ b/invenio_client/__init__.py @@ -24,10 +24,12 @@ """Python API for remote Invenio instances.""" from .connector import ( - InvenioConnector, InvenioConnectorServerError, InvenioCo...
invenio_client: export of __version__ * Exports `__version__` in the top level `invenio_client` module. * Amends the order of import statements in `__init__.py' in order to conform more fully to PEP 8 recommendations.
py
diff --git a/anyconfig/cli.py b/anyconfig/cli.py index <HASH>..<HASH> 100644 --- a/anyconfig/cli.py +++ b/anyconfig/cli.py @@ -114,8 +114,6 @@ def main(argv=sys.argv): (options, args) = parser.parse_args(argv[1:]) A.set_loglevel(to_log_level(options.loglevel)) - logging.basicConfig(format="%(asctime)s %(...
remove the lines configuring logging format as it's done in anyconfig.globals already and unnecessary
py
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py index <HASH>..<HASH> 100755 --- a/cmd2/argparse_completer.py +++ b/cmd2/argparse_completer.py @@ -440,9 +440,7 @@ class AutoCompleter(object): return completion_results def _format_completions(self, action, completions: List[Union[str,...
Update to use new completion_header when returning completions in tabular format with descriptions
py
diff --git a/services/managers/openfire_manager.py b/services/managers/openfire_manager.py index <HASH>..<HASH> 100755 --- a/services/managers/openfire_manager.py +++ b/services/managers/openfire_manager.py @@ -77,11 +77,15 @@ class OpenfireManager: @staticmethod def update_user_groups(username, password, g...
Added details to syncgroup cache
py
diff --git a/salt/states/mount.py b/salt/states/mount.py index <HASH>..<HASH> 100644 --- a/salt/states/mount.py +++ b/salt/states/mount.py @@ -129,11 +129,16 @@ def mounted(name, if opts: for opt in opts: if opt not in active[real_name]['opts']: - ret['changes']...
Respect test=True in mount state. Closes #<I>
py
diff --git a/tests/test_sources.py b/tests/test_sources.py index <HASH>..<HASH> 100644 --- a/tests/test_sources.py +++ b/tests/test_sources.py @@ -43,12 +43,12 @@ class TestDataFrameSource(TestCase): assert isinstance(source.start, pd.lib.Timestamp) assert isinstance(source.end, pd.lib.Timestamp) ...
Changes test sources to use unit test's assert instead of plain assert.
py
diff --git a/spockbot/mcp/datautils.py b/spockbot/mcp/datautils.py index <HASH>..<HASH> 100644 --- a/spockbot/mcp/datautils.py +++ b/spockbot/mcp/datautils.py @@ -151,9 +151,7 @@ def pack_slot(slot): return o # Metadata is a dictionary list thing that -# holds metadata about entities. Currently -# implemented a...
We switched to dicts but never updated the comment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,8 @@ long_description = '\n\n'.join([read_content('README.rst'), install_requires = [ 'enum34 ; python_version < "3"', 'pyvisa>=1.6', - 'PyYAML', + 'PyYAML<5.3 ; python_version < "3.5"', + 'PyYAM...
Account for dropped Python <I> support in PyYAML <I>+
py
diff --git a/tests/helpers/test_dot_notation.py b/tests/helpers/test_dot_notation.py index <HASH>..<HASH> 100644 --- a/tests/helpers/test_dot_notation.py +++ b/tests/helpers/test_dot_notation.py @@ -12,5 +12,4 @@ def test_dot(): assert dot('hey.dot.another', compile_to="{1}/{.}") == "hey/dot/another" assert d...
fix E<I> continuation line over-indented for visual indent
py
diff --git a/safe/common/test/test_resource_parameter_widget.py b/safe/common/test/test_resource_parameter_widget.py index <HASH>..<HASH> 100644 --- a/safe/common/test/test_resource_parameter_widget.py +++ b/safe/common/test/test_resource_parameter_widget.py @@ -22,11 +22,9 @@ from safe_extras.parameters.unit import Un...
Fix test that makes make test_suite stuck.
py
diff --git a/pysat/tests/test_utils.py b/pysat/tests/test_utils.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_utils.py +++ b/pysat/tests/test_utils.py @@ -109,14 +109,19 @@ class TestCIonly(): re_load(pysat) + captured = capsys.readouterr() + assert captured.out.find("Hi there!") >= 0...
TST: check that files are initialized
py
diff --git a/billy/commands/validate_api.py b/billy/commands/validate_api.py index <HASH>..<HASH> 100644 --- a/billy/commands/validate_api.py +++ b/billy/commands/validate_api.py @@ -19,15 +19,14 @@ class ValidateApi(BaseCommand): help = 'validate data from the API' def add_args(self): - self.add_arg...
validate api works for all states at once
py
diff --git a/perlin.py b/perlin.py index <HASH>..<HASH> 100644 --- a/perlin.py +++ b/perlin.py @@ -103,7 +103,7 @@ class BaseNoise: """ if period is not None: self.period = period - perm = range(self.period) + perm = list(range(self.period)) perm_right = self.period - 1 for i in list(perm): j = ra...
Update perlin.py Got "TypeError: 'range' object does not support item assignment" in python3. Apparently range() now returns an iterator, not a sequence. This fixes it to work on python 2.x and 3.x.
py
diff --git a/pelix/shell/report.py b/pelix/shell/report.py index <HASH>..<HASH> 100644 --- a/pelix/shell/report.py +++ b/pelix/shell/report.py @@ -550,7 +550,7 @@ class ReportCommands(object): """ return str(obj) - def __dump_json(self, data): + def to_json(self, data): """ C...
report: Renamed the "__dump_json" method to "to_json" The method doesn't have to be private
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,7 @@ extras_require = { 'sar_c': ['python-geotiepoints >= 1.1.7', 'gdal'], 'abi_l1b': ['h5netcdf'], # Writers: - 'cf': ['h5netcdf >= 0.7.2'], + 'cf': ['h5netcdf >= 0.7.3'], 'scmi': ['netCDF4...
Update h5netcdf requirement
py