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 @@ -261,8 +261,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.6.0' - release = 'True' + version = '1.7.0dev' + re...
Set to development (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from setuptools import ( here = os.path.dirname(__file__) requires = [ - 'cryptography ~= 3.4.5', # Feb 13, 2021 + 'cryptography ~= 3.1, != 3.4.0', ]
deps: relax cryptography version constraint
py
diff --git a/tests/samtools_test.py b/tests/samtools_test.py index <HASH>..<HASH> 100644 --- a/tests/samtools_test.py +++ b/tests/samtools_test.py @@ -244,7 +244,8 @@ class SamtoolsTest(unittest.TestCase): command = self.get_command(statement, map_to_internal=False) # bam2fq differs between ve...
Disable flagstat test as output differs in samtools-<I>
py
diff --git a/django_extensions/management/modelviz.py b/django_extensions/management/modelviz.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/modelviz.py +++ b/django_extensions/management/modelviz.py @@ -13,6 +13,7 @@ import os import six import django +from django.apps import apps from django.d...
Add support to strings defined relation - close #<I>
py
diff --git a/package/cloudshell/cp/vcenter/common/wrappers/command_wrapper.py b/package/cloudshell/cp/vcenter/common/wrappers/command_wrapper.py index <HASH>..<HASH> 100644 --- a/package/cloudshell/cp/vcenter/common/wrappers/command_wrapper.py +++ b/package/cloudshell/cp/vcenter/common/wrappers/command_wrapper.py @@ -1...
remove printing 'finished successfully' 2
py
diff --git a/compiler/cllparser.py b/compiler/cllparser.py index <HASH>..<HASH> 100644 --- a/compiler/cllparser.py +++ b/compiler/cllparser.py @@ -27,7 +27,7 @@ def parse_lines(lns): if sp == 0: break spacesmin = min(sp,spacesmin) i += 1 - child_block = map(lambda x:x[space...
object type map has no len(), put map() in list(), runtest works now. (possibly python3 issue)
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 @@ -30,8 +30,6 @@ class TestUtil(unittest.TestCase): tabula.file_util.localize_file(uri, user_agent=user_agent) mock_fun.assert_called_with(uri, user_agent) - moc...
fix: Remove assert_called for Python <I> compatibility
py
diff --git a/pkglib/testing/pytest/webdriver.py b/pkglib/testing/pytest/webdriver.py index <HASH>..<HASH> 100644 --- a/pkglib/testing/pytest/webdriver.py +++ b/pkglib/testing/pytest/webdriver.py @@ -70,12 +70,19 @@ def pytest_funcarg__webdriver(request): """ from selenium import webdriver - try: - ...
Caught a bug when using just selenium uri it would explode as host and port weren't defined.
py
diff --git a/stream.py b/stream.py index <HASH>..<HASH> 100644 --- a/stream.py +++ b/stream.py @@ -681,23 +681,16 @@ def seq(start=0, step=1): a += d return seq(start, step) -def gseq(*args): +def gseq(ratio, initval=1): """A geometric sequence generator. Works with any type with * defined. >>> from deci...
gseq: better signature
py
diff --git a/alembic/versions/2136a1f22f1f_cull_removed_rules.py b/alembic/versions/2136a1f22f1f_cull_removed_rules.py index <HASH>..<HASH> 100644 --- a/alembic/versions/2136a1f22f1f_cull_removed_rules.py +++ b/alembic/versions/2136a1f22f1f_cull_removed_rules.py @@ -25,7 +25,6 @@ def upgrade(): goners = [ ...
One of these was not removed, only moved.
py
diff --git a/raiden/routing.py b/raiden/routing.py index <HASH>..<HASH> 100644 --- a/raiden/routing.py +++ b/raiden/routing.py @@ -213,6 +213,8 @@ def get_best_routes_internal( # https://github.com/raiden-network/raiden/issues/4751 # Internal routing doesn't know about fee so it should set a percentag...
Internal routing: Adjust estimated mediation fees to 0 when target is a direct neighbour
py
diff --git a/tests/test_tracer.py b/tests/test_tracer.py index <HASH>..<HASH> 100644 --- a/tests/test_tracer.py +++ b/tests/test_tracer.py @@ -253,6 +253,14 @@ def test_symbolic_memory_dependencies_liveness(): trace_cgc_with_pov_file(binary, "tracer_symbolic_memory_dependencies_liveness", pov_file, output_initial_...
Added tracer user code execution test
py
diff --git a/madison_wcb/wcb.py b/madison_wcb/wcb.py index <HASH>..<HASH> 100644 --- a/madison_wcb/wcb.py +++ b/madison_wcb/wcb.py @@ -14,6 +14,8 @@ state = { WCB_WIDTH = 500 WCB_HEIGHT = 360 +DEFAULT_REINKING_DISTANCE_IN_CM = 48 + def _make_cnc_request(endpoint): """CNC Server is the way that madison_wcb tal...
add untested set_reinking_distance() function. what's the worst that could happen?
py
diff --git a/openquake/calculators/hazard/classical/core_next.py b/openquake/calculators/hazard/classical/core_next.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/core_next.py +++ b/openquake/calculators/hazard/classical/core_next.py @@ -390,7 +390,7 @@ class ClassicalHazardCalculator(base....
Added a TODO and finished a sentence in docstring
py
diff --git a/test/test_catalog.py b/test/test_catalog.py index <HASH>..<HASH> 100644 --- a/test/test_catalog.py +++ b/test/test_catalog.py @@ -63,13 +63,13 @@ class TestGenerateSchema(unittest.TestCase): self.assertEqual(0, check_xsds) #downloading the wrong schema - response_404 = urlopen(se...
adding python 3 compatibility to tests
py
diff --git a/ginga/util/wcs.py b/ginga/util/wcs.py index <HASH>..<HASH> 100644 --- a/ginga/util/wcs.py +++ b/ginga/util/wcs.py @@ -684,7 +684,7 @@ def get_ruler_distances(image, p1, p2): ra_heel=None, dec_heel=None, dx_deg=None, dy_deg=None, dh_deg=None) - if image is ...
Fixed issue with Ruler plugin and images with no wcs
py
diff --git a/pythran/backend.py b/pythran/backend.py index <HASH>..<HASH> 100644 --- a/pythran/backend.py +++ b/pythran/backend.py @@ -811,7 +811,7 @@ class Cxx(Backend): return r[0][n.attr], r[1] + (n.attr,) obj, path = rec(modules, node) return ('::'.join(path) if obj.isliteral() - ...
Use Uniform initialization instead of old-style constructor syntax This avoid syntax ambiguity that tends to make g++ fail.
py
diff --git a/pycbc/waveform/waveform.py b/pycbc/waveform/waveform.py index <HASH>..<HASH> 100644 --- a/pycbc/waveform/waveform.py +++ b/pycbc/waveform/waveform.py @@ -665,6 +665,7 @@ _filter_time_lengths["SEOBNRv1_ROM_EffectiveSpin"] = seobnrv2_length_in_time _filter_time_lengths["SEOBNRv1_ROM_DoubleSpin"] = seobnrv2_...
add length for EOBNRv2HM_ROM (#<I>)
py
diff --git a/salt/auth/ldap.py b/salt/auth/ldap.py index <HASH>..<HASH> 100644 --- a/salt/auth/ldap.py +++ b/salt/auth/ldap.py @@ -180,8 +180,8 @@ def _bind(username, password): try: ldap_conn = _LDAPConnection(**connargs).ldap except Exception: - #log.warn('Failed to authenticate user dn via ...
Actually log the LDAP traceback
py
diff --git a/xero/manager.py b/xero/manager.py index <HASH>..<HASH> 100644 --- a/xero/manager.py +++ b/xero/manager.py @@ -75,6 +75,10 @@ class Manager(object): NO_SEND_FIELDS = ( 'UpdatedDateUTC', 'HasValidationErrors', + 'IsDiscounted', + 'DateString', + 'HasErrors', + ...
Xero is more strict on what gets sent back, add more ignore fields.
py
diff --git a/tools/finalize.py b/tools/finalize.py index <HASH>..<HASH> 100644 --- a/tools/finalize.py +++ b/tools/finalize.py @@ -42,6 +42,7 @@ def update_changelog(): cmd = [ sys.executable, '-m', 'towncrier', + 'build', '--version', get_version(), '--yes', ]
Fix towncrier command in tools/finalize
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -99,6 +99,7 @@ def get_version_from_git(ref=None): sys.exit(1) version = proc.stdout.read().decode('utf-8').strip() + fail("The version returned from cmd is: %s" % version) try...
Take a look at the version in get_version_from_git
py
diff --git a/contrib/github_buildbot.py b/contrib/github_buildbot.py index <HASH>..<HASH> 100755 --- a/contrib/github_buildbot.py +++ b/contrib/github_buildbot.py @@ -52,7 +52,7 @@ class GitHubBuildBot(resource.Resource): payload = json.loads(request.args['payload'][0]) user = payload['reposit...
corrected KeyError with Private vs private
py
diff --git a/djcelery/management/base.py b/djcelery/management/base.py index <HASH>..<HASH> 100644 --- a/djcelery/management/base.py +++ b/djcelery/management/base.py @@ -57,6 +57,7 @@ class CeleryCommand(BaseCommand): options = BaseCommand.option_list skip_opts = ['--app', '--loader', '--config'] keep_b...
Add a stderr and stdout to the Celery commands The management commands are broken with Django <I>, which complains because the Command has no std[out|err] attribute.
py
diff --git a/loompy/loompy.py b/loompy/loompy.py index <HASH>..<HASH> 100755 --- a/loompy/loompy.py +++ b/loompy/loompy.py @@ -1105,17 +1105,17 @@ def create(filename: str, matrix: np.ndarray, row_attrs: Dict[str, np.ndarray], currentTime = time.localtime(time.time()) ds.attrs['creation_date'] = time.strftime('%...
cleanup invalid syntax and unimported names
py
diff --git a/hdl_toolkit/synthesizer/codeOps.py b/hdl_toolkit/synthesizer/codeOps.py index <HASH>..<HASH> 100644 --- a/hdl_toolkit/synthesizer/codeOps.py +++ b/hdl_toolkit/synthesizer/codeOps.py @@ -336,6 +336,9 @@ Or = _mkOp(or_) Concat = _mkOp(concatFn) def iterBits(sig): + """ + Iterate over bits in vector...
ror, rol, sll, srl refactored
py
diff --git a/discord/abc.py b/discord/abc.py index <HASH>..<HASH> 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -704,6 +704,10 @@ class GuildChannel: You must have the :attr:`~discord.Permissions.manage_roles` permission to use this. + .. note:: + + This method *replaces* the old ov...
Add a note about overwriting in set_permissions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ with open(os.path.join(ROOT, "historical", "__about__.py")) as f: install_requires = [ - 'boto3==1.7.79', # moto is currently broken with the latest and greatest version :( + 'boto3>=1.9.47', ...
require at least the latest boto3
py
diff --git a/onecodex/viz/__init__.py b/onecodex/viz/__init__.py index <HASH>..<HASH> 100644 --- a/onecodex/viz/__init__.py +++ b/onecodex/viz/__init__.py @@ -109,11 +109,21 @@ def configure_onecodex_theme(altair_module=None): # Render using `altair_saver` if installed (report environment only, requires node dep...
Ignore vega-lite warning about boxplots not supporting selection (#<I>) Closes [DEV-<I>](<URL>)
py
diff --git a/tests/integration/test_lock.py b/tests/integration/test_lock.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_lock.py +++ b/tests/integration/test_lock.py @@ -128,13 +128,13 @@ def test_keep_outdated_doesnt_upgrade_pipfile_pins(PipenvInstance, pypi): def test_keep_outdated_keeps_markers_not_r...
Don't use tablib for keep_outdated test due to osx failure
py
diff --git a/test/test_common.py b/test/test_common.py index <HASH>..<HASH> 100644 --- a/test/test_common.py +++ b/test/test_common.py @@ -65,10 +65,10 @@ class TestCommon(unittest.TestCase): self.assertRaises(InvalidTradePairException, validateOrder, "foo_bar", "buy", - ...
Pass strings instead of floats to decimal.Decimal (necessary for Python <I>).
py
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -948,6 +948,7 @@ def syndic_config(master_config_path, 'id': minion_opts['id'], 'pki_dir': minion_opts['pki_dir'], 'master': opts['syndic_master'], + 'interface': maste...
Fix issues with the syndic not resolving the master when the interface is set
py
diff --git a/salt/channel/client.py b/salt/channel/client.py index <HASH>..<HASH> 100644 --- a/salt/channel/client.py +++ b/salt/channel/client.py @@ -42,8 +42,7 @@ log = logging.getLogger(__name__) class ReqChannel: """ Factory class to create a sychronous communication channels to the master's - ReqServ...
Remove port info from channel doc strings
py
diff --git a/ca/certificate/models.py b/ca/certificate/models.py index <HASH>..<HASH> 100644 --- a/ca/certificate/models.py +++ b/ca/certificate/models.py @@ -1,10 +1,14 @@ from django.contrib.auth.models import User from django.db import models +from OpenSSL import crypto + from certificate.managers import Certif...
add method to get an x<I>
py
diff --git a/controller/api/models.py b/controller/api/models.py index <HASH>..<HASH> 100644 --- a/controller/api/models.py +++ b/controller/api/models.py @@ -298,7 +298,7 @@ class Container(UuidAuditedModel): if c_type == 'cmd': return '' else: - return 'start ...
fix(controller): format command before creating container The self._command_announceable() check was called inline with code that formatted the container's command, so no announcer would be created since the command showed up as "start {c_type}" literally. The _command property is only referenced in this code.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ setup( description='A python package that provides useful locks.', author="Joshua Harlow", author_email='harlowja@yahoo-inc.com', - url='https://github.com/harlowja/SharedLock', + url='https...
Fix url to point to renamed repo
py
diff --git a/tests/test_program.py b/tests/test_program.py index <HASH>..<HASH> 100644 --- a/tests/test_program.py +++ b/tests/test_program.py @@ -208,6 +208,8 @@ class TestProgramFeatures(object): assert p.actual_targets == {mysys.a1} def test_triggerlist_targetlist_change2_namever(self, mysys): + ...
Add TODO items in a test that fails randomly
py
diff --git a/tests/unittest_inference.py b/tests/unittest_inference.py index <HASH>..<HASH> 100644 --- a/tests/unittest_inference.py +++ b/tests/unittest_inference.py @@ -1313,7 +1313,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase): result = node.inferred() assert len(result) == 2 ...
Updates two tests that deal with the number of visits and the context.path
py
diff --git a/insanities/forms/fields.py b/insanities/forms/fields.py index <HASH>..<HASH> 100644 --- a/insanities/forms/fields.py +++ b/insanities/forms/fields.py @@ -233,7 +233,7 @@ class FieldSet(AggregateField): field.set_raw_value(field.from_python(subvalue)) def accept(self): - result = ...
fixed very bad bug, modifying initial data. backported from ybw commit <I>a<I>f<I>ced1e<I>d<I>f<I>b1b<I>aa5ca<I>
py
diff --git a/quilt/db.py b/quilt/db.py index <HASH>..<HASH> 100644 --- a/quilt/db.py +++ b/quilt/db.py @@ -57,6 +57,15 @@ class PatchSeries(object): with open(self.series_file, "r") as f: for line in f: line = line.rstrip("\r\n") + + if line.startswi...
Ignore comments and whitespace in series files
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def read(fname): return io.open(file_path, encoding='utf-8').read() -version = '0.5.1' +version = '0.5.2.dev0' setuptools.setup(
Back to development: <I>
py
diff --git a/substrate.py b/substrate.py index <HASH>..<HASH> 100644 --- a/substrate.py +++ b/substrate.py @@ -517,9 +517,8 @@ class MAASAccount: def create_vlan(self, fabric_id, vid, name=None): """Create a new vlan on fabric with given fabric_id.""" args = [ - self.profile, 'vlans', ...
Formatting nit from abentley in review
py
diff --git a/chess/svg.py b/chess/svg.py index <HASH>..<HASH> 100644 --- a/chess/svg.py +++ b/chess/svg.py @@ -261,7 +261,7 @@ def board(board: Optional[chess.BaseBoard] = None, *, ``square light``, ``square dark``, ``square light lastmove``, ``square dark lastmove``, ``margin``, ``coord``, ``arrow gr...
One more comma Forgot to add one more comma to the docstring text of svg.board().
py
diff --git a/trakt/mapper/sync.py b/trakt/mapper/sync.py index <HASH>..<HASH> 100644 --- a/trakt/mapper/sync.py +++ b/trakt/mapper/sync.py @@ -69,7 +69,7 @@ class SyncMapper(Mapper): @staticmethod def show_season(show, pk, item=None, **kwargs): if pk not in show.seasons: - show.seasons[pk]...
Fixed issue with `SyncMapper` when processing episodes
py
diff --git a/spyder/config/main.py b/spyder/config/main.py index <HASH>..<HASH> 100755 --- a/spyder/config/main.py +++ b/spyder/config/main.py @@ -281,7 +281,7 @@ DEFAULTS = [ 'supported_encodings': ["utf-8", "iso-8859-1", "cp1252"], 'exclude': EXCLUDE_PATTERNS, 'exclude_r...
Find in Files: Don't use regexp's when searching text by default
py
diff --git a/src/optlang/osqp_interface.py b/src/optlang/osqp_interface.py index <HASH>..<HASH> 100644 --- a/src/optlang/osqp_interface.py +++ b/src/optlang/osqp_interface.py @@ -413,7 +413,7 @@ class Objective(interface.Objective): def value(self): if getattr(self, 'problem', None) is None: ...
fix: adding the _objective_offset to the objective value
py
diff --git a/mongoctl/objects/replicaset_cluster.py b/mongoctl/objects/replicaset_cluster.py index <HASH>..<HASH> 100644 --- a/mongoctl/objects/replicaset_cluster.py +++ b/mongoctl/objects/replicaset_cluster.py @@ -592,7 +592,7 @@ class ReplicaSetCluster(Cluster): (force and version_diff >= 0))...
more cromulently verify acceptance of the updated cluster configuration
py
diff --git a/tests/providers/ssn.py b/tests/providers/ssn.py index <HASH>..<HASH> 100644 --- a/tests/providers/ssn.py +++ b/tests/providers/ssn.py @@ -81,10 +81,6 @@ class TestPlPL(unittest.TestCase): self.assertEqual(pl_checksum([8, 1, 1, 2, 1, 4, 1, 1, 8, 7]), 6) def test_calculate_month(self): - ...
Removal of year <I> test case
py
diff --git a/pqhelper/ui.py b/pqhelper/ui.py index <HASH>..<HASH> 100644 --- a/pqhelper/ui.py +++ b/pqhelper/ui.py @@ -26,14 +26,14 @@ class GUI(object): self._root = tk.Tk() self._root.title('PQ Helper') notebook = ttk.Notebook(self._root) - # setup capture - capture_tab = ttk....
vs would be used more than capture so made vs the default tab.
py
diff --git a/quilt/db.py b/quilt/db.py index <HASH>..<HASH> 100644 --- a/quilt/db.py +++ b/quilt/db.py @@ -288,11 +288,9 @@ class Db(PatchSeries): def check_version(self, version_file): """ Checks if the .version file in dirname has the correct supported version number """ - try: - ...
Use with operator for reading the version file
py
diff --git a/src/busio.py b/src/busio.py index <HASH>..<HASH> 100755 --- a/src/busio.py +++ b/src/busio.py @@ -7,6 +7,8 @@ See `CircuitPython:busio` in CircuitPython for more details. * Author(s): cefn """ +import threading + from adafruit_blinka import Enum, Lockable, agnostic from adafruit_blinka.agnostic impor...
Add a lock for thread safety when the I2C class is used in a with statement
py
diff --git a/pyechonest/artist.py b/pyechonest/artist.py index <HASH>..<HASH> 100644 --- a/pyechonest/artist.py +++ b/pyechonest/artist.py @@ -316,7 +316,7 @@ class Artist(ArtistProxy): """ if not (cache and ('foreign_ids' in self.cache) and filter(lambda d: d.get('catalog') == idspace, self.cache['fo...
can't add None and ListType
py
diff --git a/ptpython/validator.py b/ptpython/validator.py index <HASH>..<HASH> 100644 --- a/ptpython/validator.py +++ b/ptpython/validator.py @@ -37,7 +37,7 @@ class PythonValidator(Validator): index = document.translate_row_col_to_index( e.lineno - 1, (e.offset or 1) - 1 ) -...
Show full syntax error in Validator.
py
diff --git a/scs_osio/topic.py b/scs_osio/topic.py index <HASH>..<HASH> 100755 --- a/scs_osio/topic.py +++ b/scs_osio/topic.py @@ -85,8 +85,4 @@ if __name__ == '__main__': else: topic = manager.find(cmd.path) - print("-") - print(topic) - - print("-") print(JSONify.dumps(topic))
Renamed DeviceMetadata -> DeviceSummary.
py
diff --git a/openquake/hazardlib/contexts.py b/openquake/hazardlib/contexts.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/contexts.py +++ b/openquake/hazardlib/contexts.py @@ -321,7 +321,7 @@ class ContextMaker(object): self.col_mon = monitor('collapsing contexts', measuremem=False) self.gm...
Less monitoring [ci skip]
py
diff --git a/flask_assistant/response.py b/flask_assistant/response.py index <HASH>..<HASH> 100644 --- a/flask_assistant/response.py +++ b/flask_assistant/response.py @@ -1,3 +1,5 @@ +from xml.sax.saxutils import escape + from flask import json, make_response, current_app @@ -6,17 +8,17 @@ class _Response(object):...
Escape XML special characters Google handles quotation marks in SSML tags, but not '<', '>' and '&', which are also reserved XML (and thus SSML) characters. The xml.sax.saxutils.escape() function handles exactly these characters.
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -743,6 +743,9 @@ setuptools.setup( "serve=ray.serve.scripts:cli", ] }, + package_data={ + "ray": ["includes/*.pxd", "*.pxd"], + }, include_package_data=T...
[Python] export cython module for external project (#<I>) A lot of cython data types have been defined in ray cython module, but outside project cannot reuse these since ray doesn't export all of *.pxd files. To fix mobius python building error (<URL>) : no found ray common.pxd, etc. , According to cython docum...
py
diff --git a/aikif/toolbox/file_tools.py b/aikif/toolbox/file_tools.py index <HASH>..<HASH> 100644 --- a/aikif/toolbox/file_tools.py +++ b/aikif/toolbox/file_tools.py @@ -3,6 +3,8 @@ # file_tools.py import os +import glob +import shutil import aikif.lib.cls_filelist as mod_fl root_folder = os.path.abspath(os.p...
fixed missing imports glob, shutil
py
diff --git a/ara/server/settings.py b/ara/server/settings.py index <HASH>..<HASH> 100644 --- a/ara/server/settings.py +++ b/ara/server/settings.py @@ -122,7 +122,7 @@ LOGGING = { REST_FRAMEWORK = { "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination", - "PAGE_SIZE": 1000, + "PAGE_...
Reduce page size from <I> to <I> <I> items per page is kind of big. <I> is still big but it's a better default number to start with. Change-Id: I<I>fe<I>e<I>e<I>afd<I>b0ecaa<I>e2d<I>a
py
diff --git a/honeybadger/version.py b/honeybadger/version.py index <HASH>..<HASH> 100644 --- a/honeybadger/version.py +++ b/honeybadger/version.py @@ -1 +1 @@ -__version__ = '1.0' +__version__ = '0.0.1'
Change initial version to <I>.
py
diff --git a/salt/modules/solaris_user.py b/salt/modules/solaris_user.py index <HASH>..<HASH> 100644 --- a/salt/modules/solaris_user.py +++ b/salt/modules/solaris_user.py @@ -432,6 +432,16 @@ def list_groups(name): return salt.utils.get_group_list(name) +def list_users(): + ''' + Return a list of all use...
fix #<I> (#<I>)
py
diff --git a/airflow/operators/redshift_to_s3_operator.py b/airflow/operators/redshift_to_s3_operator.py index <HASH>..<HASH> 100644 --- a/airflow/operators/redshift_to_s3_operator.py +++ b/airflow/operators/redshift_to_s3_operator.py @@ -33,8 +33,8 @@ class RedshiftToS3Transfer(BaseOperator): :type redshift_conn_...
[AIRFLOW-<I>] Fix wrong param name in RedshiftToS3Transfer doc The parameter 'unload_options' is wrongly referred to as 'options' in the RedshiftToS3Transfer doc. This PR fixes it.
py
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -1163,8 +1163,7 @@ class ServerNameCallbackTests(TestCase, _LoopbackMixin): callback = tracker() if callback is not None: referrers...
Maybe locals() works differently on PyPy, dunno, not going to investigate, just spell this differently.
py
diff --git a/mappet/__init__.py b/mappet/__init__.py index <HASH>..<HASH> 100644 --- a/mappet/__init__.py +++ b/mappet/__init__.py @@ -8,4 +8,4 @@ __all__ = [ ] -__version__ = '0.1.1' +__version__ = '0.1.2'
Bumps version to <I>
py
diff --git a/optimizely/event/user_event_factory.py b/optimizely/event/user_event_factory.py index <HASH>..<HASH> 100644 --- a/optimizely/event/user_event_factory.py +++ b/optimizely/event/user_event_factory.py @@ -1,4 +1,4 @@ -# Copyright 2019 Optimizely +# Copyright 2019, 2021 Optimizely # Licensed under the Apache ...
Fix Impression Events - Variation lookup by id and Experiment id (#<I>) * Fix in user_event_factory to use experiment_id to lookup variation for impression events. * Update License Header to <I>.
py
diff --git a/environ/test.py b/environ/test.py index <HASH>..<HASH> 100644 --- a/environ/test.py +++ b/environ/test.py @@ -177,8 +177,7 @@ class EnvTests(BaseTests): self.assertEqual(oracle_config['HOST'], '') self.assertEqual(oracle_config['USER'], 'user') self.assertEqual(oracle_config['PAS...
Changed missing port test to be compatible with python <I>
py
diff --git a/ziggurat_foundations/tests.py b/ziggurat_foundations/tests.py index <HASH>..<HASH> 100644 --- a/ziggurat_foundations/tests.py +++ b/ziggurat_foundations/tests.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +import os import unittest from sqlalchemy.ext.declarative import declarative_base @@ -65,7 +66,8 @@...
Allow overridable DB string for testing
py
diff --git a/py/selenium/webdriver/common/proxy.py b/py/selenium/webdriver/common/proxy.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/common/proxy.py +++ b/py/selenium/webdriver/common/proxy.py @@ -101,11 +101,11 @@ class Proxy(object): if 'autodetect' in raw and raw['autodetect'] is not None:...
fix bug in proxy constructor that some properties are not proper set (#<I>)
py
diff --git a/swiftly/client.py b/swiftly/client.py index <HASH>..<HASH> 100644 --- a/swiftly/client.py +++ b/swiftly/client.py @@ -801,10 +801,9 @@ class Client(object): container = _quote(container) else: container = '/' + _quote(container) - if obj.startswith('/'): - ...
Fixed bug with leading slashes in obj name
py
diff --git a/demosys/opengl/vao.py b/demosys/opengl/vao.py index <HASH>..<HASH> 100644 --- a/demosys/opengl/vao.py +++ b/demosys/opengl/vao.py @@ -142,11 +142,17 @@ class VAO: :param attrib_name: Name of the attribute in the shader :param components: Number of components (for example 3 for a x, y, x p...
Better sanity checking of map_buffer inputs
py
diff --git a/jarn/mkrelease/setuptools.py b/jarn/mkrelease/setuptools.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/setuptools.py +++ b/jarn/mkrelease/setuptools.py @@ -129,7 +129,7 @@ class Setuptools(object): python = self.python if scmtype: - patched = scmtype_chooser % locals() ...
Exclude all types of meta files from eggs.
py
diff --git a/pyflakes/test/test_other.py b/pyflakes/test/test_other.py index <HASH>..<HASH> 100644 --- a/pyflakes/test/test_other.py +++ b/pyflakes/test/test_other.py @@ -861,8 +861,9 @@ class TestUnusedAssignment(harness.Test): def test_exceptWithoutNameInFunction(self): """ - Don't issue false ...
Reflow some docstrings.
py
diff --git a/hole/__init__.py b/hole/__init__.py index <HASH>..<HASH> 100644 --- a/hole/__init__.py +++ b/hole/__init__.py @@ -60,7 +60,7 @@ class Hole(object): async with async_timeout.timeout(5): response = await self._session.get(self.base_url, params=params) - _LOGGER.info...
Move <I> Response logs to DEBUG (#<I>)
py
diff --git a/pdfminer/ccitt.py b/pdfminer/ccitt.py index <HASH>..<HASH> 100644 --- a/pdfminer/ccitt.py +++ b/pdfminer/ccitt.py @@ -723,12 +723,12 @@ def ccittfaxdecode(data, params): # test def main(argv): - import pygame if not argv[1:]: return unittest.main() class Parser(CCITTG4Parser): ...
Fixed: dependency on pygame in a unittest.
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -213,7 +213,8 @@ def test_argsfile(spoof_tesseract_noop, resources, outdir): @pytest.mark.parametrize('renderer', RENDERERS) def test_ocr_timeout(renderer, resources, outpdf): out...
Reactivate two tests that weren't using their fixtures properly
py
diff --git a/src/guake.py b/src/guake.py index <HASH>..<HASH> 100644 --- a/src/guake.py +++ b/src/guake.py @@ -1081,7 +1081,7 @@ def main(): parser.add_option('-e', '--execute-command', dest='command', action='store', default='', - help=_('Execute an arbitrary command.')) + hel...
Changing the description of the '-e' command. Making sure that the user will realize that command will be executed in the *selected* tab.
py
diff --git a/aba_uberon.py b/aba_uberon.py index <HASH>..<HASH> 100755 --- a/aba_uberon.py +++ b/aba_uberon.py @@ -5,7 +5,7 @@ from os.path import expanduser from collections import namedtuple import rdflib import requests -from pyontutils.scigraph_client import Vocabulary, Graph +from scigraph_client import Vocabul...
removed relative import now that aba_uberon lives in here
py
diff --git a/zarr/meta_v1.py b/zarr/meta_v1.py index <HASH>..<HASH> 100644 --- a/zarr/meta_v1.py +++ b/zarr/meta_v1.py @@ -60,11 +60,11 @@ def _decode_dtype_descr(d): # need to convert list of lists to list of tuples if isinstance(d, list): # recurse to handle nested structures - if PY2: # pr...
no point in comments, whole file is excluded
py
diff --git a/spyder/widgets/editor.py b/spyder/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/editor.py +++ b/spyder/widgets/editor.py @@ -2662,7 +2662,6 @@ class EditorPluginExample(QSplitter): editorstack.file_saved.connect(self.file_saved_in_editorstack) editorstack.file_rename...
Fixed problem with attribute create_new_window of the EditorStack.
py
diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index <HASH>..<HASH> 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -36,7 +36,7 @@ encodings = ('utf-8', 'iso-8859-1') USAGE = """ \t%prog [OPTIONS] [file1 file2 ... fileN] """ -VERSION = '2.2.dev0' +VERSION = '2.2....
MAINT: Stable version (#<I>)
py
diff --git a/nashvegas/management/commands/upgradedb.py b/nashvegas/management/commands/upgradedb.py index <HASH>..<HASH> 100644 --- a/nashvegas/management/commands/upgradedb.py +++ b/nashvegas/management/commands/upgradedb.py @@ -63,7 +63,7 @@ class Command(BaseCommand): help="Seed nashvegas with ...
Default interactivity to False
py
diff --git a/scripts/snmprec.py b/scripts/snmprec.py index <HASH>..<HASH> 100644 --- a/scripts/snmprec.py +++ b/scripts/snmprec.py @@ -87,7 +87,9 @@ privProtocols = { 'AES': config.usmAesCfb128Protocol, 'AES128': config.usmAesCfb128Protocol, 'AES192': config.usmAesCfb192Protocol, + 'AES192BLMT': confi...
added strong AES privacy with Blumenthal key localization to snmprec.py
py
diff --git a/src/urh/dev/native/RTLSDRTCP.py b/src/urh/dev/native/RTLSDRTCP.py index <HASH>..<HASH> 100644 --- a/src/urh/dev/native/RTLSDRTCP.py +++ b/src/urh/dev/native/RTLSDRTCP.py @@ -92,7 +92,7 @@ class RTLSDRTCP(Device): # Create socket and connect self.sock = socket.socket(socket...
rtl_tcp improved
py
diff --git a/sexpr/sexpr.py b/sexpr/sexpr.py index <HASH>..<HASH> 100644 --- a/sexpr/sexpr.py +++ b/sexpr/sexpr.py @@ -38,3 +38,17 @@ class Sexpr(object): def __repr__(self): return '(sexpr {})'.format(self.sexpr) + + def with_insert(self, index, sexpr): + self.sexpr.insert(index, self.grammar...
Add "with_insert" and "find_child" utility methods
py
diff --git a/s4/sync.py b/s4/sync.py index <HASH>..<HASH> 100644 --- a/s4/sync.py +++ b/s4/sync.py @@ -65,8 +65,6 @@ class SyncWorker(object): self.run_resolutions(resolutions, dry_run) - except KeyboardInterrupt: - self.logger.warning('Session interrupted by Keyboard Interrupt. Abort...
Only catch KeyboardInterrupts in the cli client
py
diff --git a/tests/test_mwrest.py b/tests/test_mwrest.py index <HASH>..<HASH> 100644 --- a/tests/test_mwrest.py +++ b/tests/test_mwrest.py @@ -22,3 +22,18 @@ def test_mwrest(kwds): kwds["output item"], kwds.get("output format") or "" ) + + +@pytest.mark.parametrize("kwds", [ + ({'context': 'st...
Adds unit test for expected error using mwrest.py.
py
diff --git a/py/dynesty/nestedsamplers.py b/py/dynesty/nestedsamplers.py index <HASH>..<HASH> 100644 --- a/py/dynesty/nestedsamplers.py +++ b/py/dynesty/nestedsamplers.py @@ -622,12 +622,12 @@ class MultiEllipsoidSampler(Sampler): # Returns the point `u`, ellipsoid index `idx`, and number of #...
reorder checks for speedup. there is no need for unit check if we'll not selecting the point
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -492,6 +492,10 @@ class ClassicalCalculator(base.HazardCalculator): oq.min_weight) logg...
Logging the heavy sources [ci skip]
py
diff --git a/CHAID/__init__.py b/CHAID/__init__.py index <HASH>..<HASH> 100644 --- a/CHAID/__init__.py +++ b/CHAID/__init__.py @@ -5,4 +5,4 @@ from .column import NominalColumn, OrdinalColumn, ContinuousColumn from .stats import Stats from .invalid_split_reason import InvalidSplitReason -__version__ = "5.0.4" +__ve...
Bumped version to <I>
py
diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index <HASH>..<HASH> 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -199,6 +199,8 @@ _JETSON_IDS = ( ( "nvidia,p3509-0000+p3668-0000...
add ConnectTech Boson board for Jetson NX
py
diff --git a/revision/__init__.py b/revision/__init__.py index <HASH>..<HASH> 100644 --- a/revision/__init__.py +++ b/revision/__init__.py @@ -9,5 +9,5 @@ from __future__ import absolute_import -__version__ = "0.0.3" +__version__ = "0.0.4" __license__ = "MIT"
chore(source): bump to dev version
py
diff --git a/mythril/laser/ethereum/svm.py b/mythril/laser/ethereum/svm.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/svm.py +++ b/mythril/laser/ethereum/svm.py @@ -182,9 +182,12 @@ class LaserEVM: def exec(self, create=False, track_gas=False) -> Union[List[GlobalState], None]: final_states ...
Remove now unneeded nested if
py
diff --git a/icon_font_to_png.py b/icon_font_to_png.py index <HASH>..<HASH> 100644 --- a/icon_font_to_png.py +++ b/icon_font_to_png.py @@ -156,7 +156,7 @@ def export_icon(icons, icon, size, filename, ttf_file, color, scale): # Save file outimage.save(filename) -if __name__ == '__main__': +def run(argv): ...
Refactor for Improved Testability™
py
diff --git a/bcbio/pipeline/shared.py b/bcbio/pipeline/shared.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/shared.py +++ b/bcbio/pipeline/shared.py @@ -151,7 +151,7 @@ def subtract_low_complexity(f): @functools.wraps(f) def wrapper(variant_regions, region, out_file, items=None): region_bed = f...
Handle avoiding low complexity subsets on regions if supplied as tuple instead of BED file
py
diff --git a/n_mdfmonitor.py b/n_mdfmonitor.py index <HASH>..<HASH> 100644 --- a/n_mdfmonitor.py +++ b/n_mdfmonitor.py @@ -39,7 +39,7 @@ class DuplicationError(BaseException): pass -class ModificationMonitor(object): +class FileModificationMonitor(object): """The ModificationMonitor can monitoring file mo...
renamed class name from ModificationMonitor to FileModificationMonitor
py
diff --git a/bingraphvis/angr/content.py b/bingraphvis/angr/content.py index <HASH>..<HASH> 100644 --- a/bingraphvis/angr/content.py +++ b/bingraphvis/angr/content.py @@ -102,7 +102,11 @@ class AngrDDGLocationHead(Content): def gen_render(self, n): node = n.obj - label = "%s %s %s %c\n" %...
Support for simprocedures in AngrDDGLocationHead
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -24,6 +24,7 @@ INSTALL_REQUIRES = ['apache-libcloud>=2.0.0', 'future>=0.14', 'gevent>=1.2.2', 'pycrypto>=2.6.1', + 'requests>=2.5.1', ...
Updating setup.py to require requests>=<I> and Version to <I>
py
diff --git a/lamvery/actions/api.py b/lamvery/actions/api.py index <HASH>..<HASH> 100644 --- a/lamvery/actions/api.py +++ b/lamvery/actions/api.py @@ -93,9 +93,8 @@ class ApiAction(BaseAction): if not self._no_integrate: api_conf = self._integrate_aws(api_conf, stage, cors) - if api_id is...
Print diff without api_id #<I>
py
diff --git a/src/toil_scripts/batch_alignment/bwa_alignment.py b/src/toil_scripts/batch_alignment/bwa_alignment.py index <HASH>..<HASH> 100644 --- a/src/toil_scripts/batch_alignment/bwa_alignment.py +++ b/src/toil_scripts/batch_alignment/bwa_alignment.py @@ -74,8 +74,7 @@ def parse_config(job, shared_ids, inputs): ...
Fix illogical memory requirement for download_sample
py
diff --git a/salt/modules/service.py b/salt/modules/service.py index <HASH>..<HASH> 100644 --- a/salt/modules/service.py +++ b/salt/modules/service.py @@ -80,7 +80,7 @@ def stop(name): def restart(name, **kwargs): ''' - Restart the named service + Restart the specified service CLI Example:: @@ -1...
fix inconsistency in modules/service.py docs (for real)
py