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 @@ -24,7 +24,7 @@ tests_require = [ 'hypothesis-pytest==0.19.0', 'py==1.4.31', 'pydocstyle==1.0.0', - 'pytest==3.0.1', + 'pytest==3.0.2', 'pytest-benchmark==3.0.0', 'pytest-cov==2.2.1', 'Sphinx...
upgrade to latest pytest (<I>)
py
diff --git a/pebble/concurrent/process.py b/pebble/concurrent/process.py index <HASH>..<HASH> 100644 --- a/pebble/concurrent/process.py +++ b/pebble/concurrent/process.py @@ -88,7 +88,7 @@ def _process_wrapper(function, timeout, name, daemon, mp_context): worker = launch_process( name, _function...
concurrent/process: close channels on worker side On Linux, the child process inherits the parent file descriptors. If the parent end of the pipes is not closed, the child will be unable to detect whether the parent exited or not. As a consequence, workers cannot detect when the main process has terminated abruptly.
py
diff --git a/molotov/fmwk.py b/molotov/fmwk.py index <HASH>..<HASH> 100644 --- a/molotov/fmwk.py +++ b/molotov/fmwk.py @@ -23,7 +23,8 @@ _RESULTS = SharedCounters('WORKER', 'REACHED', 'RATIO', 'OK', 'FAILED', def display_results(): ok, fail = _RESULTS['OK'].value, _RESULTS['FAILED'].value - return 'SUCCESSES...
we dont display the results line only with --quiet
py
diff --git a/trezor_agent/gpg/encode.py b/trezor_agent/gpg/encode.py index <HASH>..<HASH> 100644 --- a/trezor_agent/gpg/encode.py +++ b/trezor_agent/gpg/encode.py @@ -173,9 +173,10 @@ class Factory(object): unhashed_subpackets=unhashed_subpackets) # Subkey Binding Signature - flags = ...
gpg: improve flags selection
py
diff --git a/tests/pytests/unit/states/test_pkg.py b/tests/pytests/unit/states/test_pkg.py index <HASH>..<HASH> 100644 --- a/tests/pytests/unit/states/test_pkg.py +++ b/tests/pytests/unit/states/test_pkg.py @@ -218,7 +218,7 @@ def test_fulfills_version_string(version_string, installed_versions, expected_re ) ...
Remove superfluous msg to allow pytest to handle it automatically
py
diff --git a/aredis/pool.py b/aredis/pool.py index <HASH>..<HASH> 100644 --- a/aredis/pool.py +++ b/aredis/pool.py @@ -304,6 +304,7 @@ class ClusterConnectionPool(ConnectionPool): self._available_connections = {} # Dict(Node, List) self._in_use_connections = {} # Dict(Node, Set) self._check...
reset initialized when connection pool is asked to reset
py
diff --git a/cherrypy/test/test_static.py b/cherrypy/test/test_static.py index <HASH>..<HASH> 100644 --- a/cherrypy/test/test_static.py +++ b/cherrypy/test/test_static.py @@ -3,9 +3,12 @@ import contextlib import io import os import sys +import platform from six.moves import urllib +import pytest + import cher...
Mark test as xfail. Ref #<I>.
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -217,7 +217,7 @@ def build_curves(rlz, curves_by_trt_model_gsim): # number of TrtModels curves = 0 for art in AssocLtRlzTrtMode...
Fixed bug reported by INGV Pisa Former-commit-id: fede<I>d<I>f<I>fbd<I>bc<I>ef5dd4d [formerly <I>f<I>b9d<I>ee<I>b6eef7c<I>c5ff] Former-commit-id: <I>be0bc<I>f<I>efb<I>dab<I>eb<I>d9
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,17 @@ setup( 'dev': ['pyinstaller'], 'test': ['coverage', 'nose'], }, - entry_points = { + classifiers={ + "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + ...
Add classifiers to setup.py
py
diff --git a/shakedown/dcos/package.py b/shakedown/dcos/package.py index <HASH>..<HASH> 100644 --- a/shakedown/dcos/package.py +++ b/shakedown/dcos/package.py @@ -129,10 +129,10 @@ def install_package( app_id = pkg.marathon_json(options).get('id') shakedown.deployment_wait(timeout_sec, app_id) ...
repairing a mistaken search and replace issue
py
diff --git a/ggplot/tests/test_ggsave.py b/ggplot/tests/test_ggsave.py index <HASH>..<HASH> 100644 --- a/ggplot/tests/test_ggsave.py +++ b/ggplot/tests/test_ggsave.py @@ -147,7 +147,7 @@ def test_aes_mixed_args(): def test_nonzero_indexed_data(): - df = pd.DataFrame({98: {"blip":0, "blop":1} + df = pd.DataFr...
Fixed a typo with a missing comma
py
diff --git a/demography/management/commands/bootstrap_census.py b/demography/management/commands/bootstrap_census.py index <HASH>..<HASH> 100644 --- a/demography/management/commands/bootstrap_census.py +++ b/demography/management/commands/bootstrap_census.py @@ -254,6 +254,7 @@ class Command(BaseCommand): ...
aggegrate state_estimates_by_nation works for however many states you have in your db
py
diff --git a/src/fileseq/all.py b/src/fileseq/all.py index <HASH>..<HASH> 100644 --- a/src/fileseq/all.py +++ b/src/fileseq/all.py @@ -224,7 +224,7 @@ class FileSequence(object): "length": len(self), "padding": self.padding(), "range": self.frameRange() or "", - ...
FileSequence.format now returns an empty string if there is no inverted frame range rather than a string value of "None".
py
diff --git a/addok/shell.py b/addok/shell.py index <HASH>..<HASH> 100644 --- a/addok/shell.py +++ b/addok/shell.py @@ -397,8 +397,8 @@ class Cmd(cmd.Cmd): print(white(compare_ngrams(one, two))) def do_CONFIG(self, name): - """Inspect loaded Addok config. - CONFIG COMMON_THRESHOLD""" + ...
Better doc for config shell command
py
diff --git a/tests/folia.py b/tests/folia.py index <HASH>..<HASH> 100755 --- a/tests/folia.py +++ b/tests/folia.py @@ -546,7 +546,7 @@ class Test2Sanity(unittest.TestCase): <w xml:id="p.1.s.1.w.1"> <t>blah</t> <pos class="NN(blah)"> - <head class="NN" />...
test fixed.. no shortcut element for pre-determined features
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 @@ -563,6 +563,8 @@ def test_write_skipexportglyphs(data_dir, tmp_path): str(tmp_path / "GlyphsUnitTestSans.glyphs"), "--master-dir", str(tmp_path / "master_ufos"...
test_main: ensure instance_dir is on same drive on Win
py
diff --git a/salt/client/__init__.py b/salt/client/__init__.py index <HASH>..<HASH> 100644 --- a/salt/client/__init__.py +++ b/salt/client/__init__.py @@ -1583,6 +1583,7 @@ class LocalClient(object): expect_minions=(verbose or show_timeout), ...
Modify debug logging for manage runner troubleshooting
py
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index <HASH>..<HASH> 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3544,8 +3544,8 @@ class Cmd(cmd.Cmd): else: fobj.write('{}\n'.format(command.raw)) try: - self.do_edit(fname) - return s...
Fixed issue where some calls could have failed if the strings had spaces
py
diff --git a/cymon/cymon.py b/cymon/cymon.py index <HASH>..<HASH> 100644 --- a/cymon/cymon.py +++ b/cymon/cymon.py @@ -48,12 +48,12 @@ class Cymon(object): r = self.get('/url/' + quote_plus(location)) return json.loads(r.text) - def ip_blacklist(self, tag, days=1): + def ip_blacklist(self, tag...
Add limit and offset to ip and domain blacklists The ip_blacklist and domain_blacklist functions were functional but not useful. The library did not allow access beyond the first <I> results. Fixed.
py
diff --git a/third_party/tvcm/tvcm/module_test_case.py b/third_party/tvcm/tvcm/module_test_case.py index <HASH>..<HASH> 100644 --- a/third_party/tvcm/tvcm/module_test_case.py +++ b/third_party/tvcm/tvcm/module_test_case.py @@ -18,8 +18,8 @@ _currently_active_module_test_suite = None def _NavigateToTestCaseRunner(bc)...
Need to awit on window.tvcm instead of an unbound global
py
diff --git a/pyfolio/pos.py b/pyfolio/pos.py index <HASH>..<HASH> 100644 --- a/pyfolio/pos.py +++ b/pyfolio/pos.py @@ -122,7 +122,7 @@ def extract_pos(positions, cash): columns='sid', values='values') - values = val...
BUG Empty positions in extract_pos showed up as nans. Replace with 0s.
py
diff --git a/flask_pam/token/jwt.py b/flask_pam/token/jwt.py index <HASH>..<HASH> 100644 --- a/flask_pam/token/jwt.py +++ b/flask_pam/token/jwt.py @@ -15,7 +15,7 @@ class JWT(Token): def generate(self): data = self.context.copy() data['username'] = self.username - data['expire'] = int(self...
jwt: change name of expire field to exp
py
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -1984,7 +1984,7 @@ class PyIso(object): if not vd.path_table_record_be_equal_to_le(index, ptr): raise PyIsoException("Little endian and big endian path table records do not agree") - def _find_record...
Add an optional encoding when finding a record. We'll need this for Joliet support.
py
diff --git a/neurosynth/analysis/classify.py b/neurosynth/analysis/classify.py index <HASH>..<HASH> 100644 --- a/neurosynth/analysis/classify.py +++ b/neurosynth/analysis/classify.py @@ -9,10 +9,8 @@ from functools import reduce def classify_by_features(dataset, features, studies=None, method='SVM', ...
Added function to classify to get order that requested features appear in dataset. Good for knowing what order data is given and rearranging
py
diff --git a/pymatgen/analysis/surface_analysis.py b/pymatgen/analysis/surface_analysis.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/surface_analysis.py +++ b/pymatgen/analysis/surface_analysis.py @@ -330,6 +330,15 @@ class SlabEntry(ComputedStructureEntry): label += r", %.3f ML" % (self.get_mono...
added option to get SlabEntry from ComputedStructureEntry
py
diff --git a/tests/cli/_demo_basic_usage.py b/tests/cli/_demo_basic_usage.py index <HASH>..<HASH> 100644 --- a/tests/cli/_demo_basic_usage.py +++ b/tests/cli/_demo_basic_usage.py @@ -139,7 +139,7 @@ def _unittest_slow_cli_demo_basic_usage( # Time to let the background processes finish initialization. ...
Relax the timing requirements to make the test pass on Windows
py
diff --git a/schedule/__init__.py b/schedule/__init__.py index <HASH>..<HASH> 100644 --- a/schedule/__init__.py +++ b/schedule/__init__.py @@ -229,7 +229,8 @@ class Job(object): job_func_name = self.job_func.__name__ else: job_func_name = repr(self.job_func) - is_repr = lambda ...
Linter is not a fan of lambdas
py
diff --git a/s4cmd.py b/s4cmd.py index <HASH>..<HASH> 100755 --- a/s4cmd.py +++ b/s4cmd.py @@ -1285,7 +1285,7 @@ class ThreadUtil(S3Handler, ThreadPool.Worker): @log_calls def read_file_chunk(self, source, pos, chunk): - '''Read local file cunks''' + '''Read local file chunk''' if chunk==0: ...
Fix two typos in method docstrings
py
diff --git a/sen/docker_backend.py b/sen/docker_backend.py index <HASH>..<HASH> 100644 --- a/sen/docker_backend.py +++ b/sen/docker_backend.py @@ -410,7 +410,8 @@ class DockerBackend: @property def client(self): if self._client is None: - self._client = docker.AutoVersionClient() + ...
<I>: configure using DOCKER_HOST et al. (logic from docker-compose)
py
diff --git a/salt/states/file.py b/salt/states/file.py index <HASH>..<HASH> 100644 --- a/salt/states/file.py +++ b/salt/states/file.py @@ -1235,7 +1235,20 @@ def managed(name, Debian file type ``*.dsc`` files are also supported. **Inserting the Source Hash in the SLS Data** - Examples...
Document the fact that the checksum type can be omitted in file.managed states This has been the case since <I> but only the archive.extracted state's docstring included this updated information.
py
diff --git a/lib/pyfrc/robotpy/installer.py b/lib/pyfrc/robotpy/installer.py index <HASH>..<HASH> 100644 --- a/lib/pyfrc/robotpy/installer.py +++ b/lib/pyfrc/robotpy/installer.py @@ -545,6 +545,9 @@ class RobotpyInstaller(object): if options.basever is not None: options.packages = ['%s==%s' % (pkg...
Keep pyfrc version of installer in sync
py
diff --git a/lancet/core.py b/lancet/core.py index <HASH>..<HASH> 100644 --- a/lancet/core.py +++ b/lancet/core.py @@ -437,18 +437,19 @@ class List(Args): An argument specifier that takes its values from a given list. """ - list_values = param.List(default=[], constant=True, doc=''' + values = param.L...
Renamed list_key to key and list_values to values in List class
py
diff --git a/piazza_api/rpc.py b/piazza_api/rpc.py index <HASH>..<HASH> 100644 --- a/piazza_api/rpc.py +++ b/piazza_api/rpc.py @@ -92,7 +92,7 @@ class PiazzaRPC(object): """ r = self.request( method="content.get", - data={"cid": cid}, + data={"cid": cid, "student_vie...
Add student_view param to content.get (#<I>)
py
diff --git a/sllurp/inventory.py b/sllurp/inventory.py index <HASH>..<HASH> 100644 --- a/sllurp/inventory.py +++ b/sllurp/inventory.py @@ -7,20 +7,20 @@ from twisted.internet import reactor, defer import sllurp.llrp as llrp -tagReport = 0 +numTags = 0 logger = logging.getLogger('sllurp') args = None def fin...
rename silly tagReport to numTags
py
diff --git a/pkg_resources.py b/pkg_resources.py index <HASH>..<HASH> 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -35,20 +35,9 @@ try: basestring next = lambda o: o.next() from cStringIO import StringIO as BytesIO - def exec(code, globs=None, locs=None): - if globs is None: - ...
Remove exec compatibility from pkg_resources also.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ DESC = " ".join(__import__('formfield').__doc__.splitlines()).strip() setup( name = "django-formfield", version = __import__('formfield').get_version().replace(' ', '-'), - url = 'http://github.com...
Updated setup.py as well
py
diff --git a/MAPKIT/setup.py b/MAPKIT/setup.py index <HASH>..<HASH> 100644 --- a/MAPKIT/setup.py +++ b/MAPKIT/setup.py @@ -3,22 +3,21 @@ import os from setuptools import setup, find_packages requires = [ - 'sqlalchemy>=0.8', - 'geoalchemy2' + 'sqlalchemy>=0.8' ] -setup(name='gsshapy', - version...
Updated setup.py for version <I>
py
diff --git a/ricecooker/__init__.py b/ricecooker/__init__.py index <HASH>..<HASH> 100644 --- a/ricecooker/__init__.py +++ b/ricecooker/__init__.py @@ -2,7 +2,7 @@ __author__ = 'Learning Equality' __email__ = 'jordan@learningequality.org' -__version__ = '0.6.21' +__version__ = '0.6.22' import sys
Updated pypi version to <I>
py
diff --git a/helpers.py b/helpers.py index <HASH>..<HASH> 100644 --- a/helpers.py +++ b/helpers.py @@ -95,3 +95,15 @@ class Rpm(object): # https://kojipkgs.fedoraproject.org//packages/etcd/2.2.4/2.fc24/x86_64/etcd-unit-test-2.2.4-2.fc24.x86_64.rpm # https://kojipkgs.fedoraproject.org//packages/etcd/2.2.4/2.fc24/s...
Helpers: introduce GolangRpm to distinguish between devel, unit-test and other rpms
py
diff --git a/pypiper/ngstk.py b/pypiper/ngstk.py index <HASH>..<HASH> 100755 --- a/pypiper/ngstk.py +++ b/pypiper/ngstk.py @@ -495,7 +495,7 @@ class NGSTk(_AttributeDict): self.make_sure_path_exists(fastqc_folder) cmd = self.fastqc(trimmed_fastq, fastqc_folder) self.pm...
additional conditional to prevent null file to fastqc
py
diff --git a/pycoin/ecdsa/native/openssl.py b/pycoin/ecdsa/native/openssl.py index <HASH>..<HASH> 100644 --- a/pycoin/ecdsa/native/openssl.py +++ b/pycoin/ecdsa/native/openssl.py @@ -98,7 +98,7 @@ def create_OpenSSLOptimizations(curve_id): openssl_group = OpenSSL.EC_GROUP_new_by_curve_name(curve_id) ...
docs: fix simple typo, mulitiplication -> multiplication There is a small typo in pycoin/ecdsa/native/openssl.py. Should read `multiplication` rather than `mulitiplication`.
py
diff --git a/src/boost/python/databaseds/database.py b/src/boost/python/databaseds/database.py index <HASH>..<HASH> 100644 --- a/src/boost/python/databaseds/database.py +++ b/src/boost/python/databaseds/database.py @@ -1811,7 +1811,7 @@ def __monkey_patch_database_class(): deviceClassClass, deviceImplClass, de...
Make sure DatabaseClass.device_factory uses similar code as its super
py
diff --git a/squad/frontend/project_settings.py b/squad/frontend/project_settings.py index <HASH>..<HASH> 100644 --- a/squad/frontend/project_settings.py +++ b/squad/frontend/project_settings.py @@ -14,7 +14,8 @@ class ProjectForm(forms.ModelForm): model = Project fields = ['name', 'is_public', 'is_ar...
frontend: project_settings: add important-metadata-keys
py
diff --git a/lighttpd/datadog_checks/lighttpd/lighttpd.py b/lighttpd/datadog_checks/lighttpd/lighttpd.py index <HASH>..<HASH> 100644 --- a/lighttpd/datadog_checks/lighttpd/lighttpd.py +++ b/lighttpd/datadog_checks/lighttpd/lighttpd.py @@ -81,11 +81,20 @@ class Lighttpd(AgentCheck): url = self.assumed_url.get(i...
[lighttpd] add digest auth support
py
diff --git a/tests/test_pid.py b/tests/test_pid.py index <HASH>..<HASH> 100644 --- a/tests/test_pid.py +++ b/tests/test_pid.py @@ -432,6 +432,7 @@ def test_pid_check_samepid(): check_samepid() +@pytest.mark.skipif(sys.platform == "win32", reason="test not supported on win32") @patch("os.getpid") @pat...
another test which is not supported on win<I>
py
diff --git a/ipyrad/__init__.py b/ipyrad/__init__.py index <HASH>..<HASH> 100644 --- a/ipyrad/__init__.py +++ b/ipyrad/__init__.py @@ -4,7 +4,7 @@ ## define state vars __interactive__ = 1 ## CLI __main__ changes to 0 -__version__ = "0.1.88" +__version__ = "0.2.1" ## Possible values for __loglevel__: "DEBUG"...
version up to <I> bump
py
diff --git a/dbt/main.py b/dbt/main.py index <HASH>..<HASH> 100644 --- a/dbt/main.py +++ b/dbt/main.py @@ -107,7 +107,6 @@ def handle(args): def handle_and_check(args): parsed = parse_args(args) - # this needs to happen after args are parsed so we can determine the # correct profiles.yml file pro...
make clean not require a profile, make bare dbt -d fail with better errors
py
diff --git a/pyeda/boolfunc.py b/pyeda/boolfunc.py index <HASH>..<HASH> 100644 --- a/pyeda/boolfunc.py +++ b/pyeda/boolfunc.py @@ -144,6 +144,16 @@ class Function(object): """ return len(self.support) + def iter_domain(self): + """Iterate through all points in the domain.""" + for p...
Add Function iter_domain, iter_range iterators. Also, get rid of Function.iter_outputs.
py
diff --git a/tests/test_adhoc.py b/tests/test_adhoc.py index <HASH>..<HASH> 100644 --- a/tests/test_adhoc.py +++ b/tests/test_adhoc.py @@ -133,7 +133,7 @@ def test_become(testdir, option): if ansible.__version__.startswith('2'): assert 'msg' in result, "Missing expected field in JS...
Cleanup assertion for ansible devel response
py
diff --git a/grimoire_elk/_version.py b/grimoire_elk/_version.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/_version.py +++ b/grimoire_elk/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.26.10" +__version__ = "0.30"
[release] Update _version.py file to <I> for pip packages
py
diff --git a/src/main/python/succubus/daemonize.py b/src/main/python/succubus/daemonize.py index <HASH>..<HASH> 100644 --- a/src/main/python/succubus/daemonize.py +++ b/src/main/python/succubus/daemonize.py @@ -148,11 +148,9 @@ class Daemon(object): # to properly close the fd's, we need to use sys and os: ...
Fix daemonization not working with Pypy Calling "sys.stdout.close()" has the expected effect in Pypy, but not in C-Python. The workaround that was implemented for C-Python broke Pypy, though. Calling os.closerange() is also a valid workaround (for C-Python) and ignores errors (for Pypy).
py
diff --git a/mutagen/id3/__init__.py b/mutagen/id3/__init__.py index <HASH>..<HASH> 100644 --- a/mutagen/id3/__init__.py +++ b/mutagen/id3/__init__.py @@ -247,6 +247,7 @@ class ID3(DictProxy, mutagen.Metadata): self.unknown_frames = [] self.__known_frames = known_frames self._header = None + ...
id3: record amount of padding in tags So we can test it.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,7 @@ def read_version(): raise RuntimeError(msg) -install_requires = ['aiohttp>=0.14'] +install_requires = ['aiohttp>=0.14,<2.0'] setup(name='aiohttp-sse',
not yet compatible with aiohttp<I>
py
diff --git a/gwpy/plotter/ticks.py b/gwpy/plotter/ticks.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/ticks.py +++ b/gwpy/plotter/ticks.py @@ -128,6 +128,7 @@ class AutoTimeLocator(mticker.MaxNLocator): if scale not in GPS_SCALE: raise ValueError("Cannot set arbitrary GPS scales, please select...
ticks.AutoTimeLocator: fix bug in scale setting
py
diff --git a/spacy/cli/info.py b/spacy/cli/info.py index <HASH>..<HASH> 100644 --- a/spacy/cli/info.py +++ b/spacy/cli/info.py @@ -34,7 +34,7 @@ def info( *, markdown: bool = False, silent: bool = True, - exclude: List[str] = None, + exclude: Optional[List[str]] = None, ) -> Union[str, dict]: ...
Fix types for exclude args in info CLI (#<I>)
py
diff --git a/fast/angular_momentum.py b/fast/angular_momentum.py index <HASH>..<HASH> 100755 --- a/fast/angular_momentum.py +++ b/fast/angular_momentum.py @@ -568,4 +568,4 @@ def density_matrix_rotation(J_values, alpha, beta, gamma): if __name__ == "__main__": import doctest - print doctest.testmod(verbose=F...
Prepared print function for python3.
py
diff --git a/openquake/db/models.py b/openquake/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/db/models.py +++ b/openquake/db/models.py @@ -642,6 +642,9 @@ class ModelContent(djm.Model): content_type = djm.TextField() last_update = djm.DateTimeField(editable=False, default=datetime.utcnow) + c...
Added missing site_model schema declaration
py
diff --git a/yt_array.py b/yt_array.py index <HASH>..<HASH> 100644 --- a/yt_array.py +++ b/yt_array.py @@ -511,12 +511,6 @@ class YTArray(np.ndarray): """ from equivalencies import equivalence_registry this_equiv = equivalence_registry[equiv]() - possible_prefix = unit[0] - symb...
This isn't necessary anymore. --HG-- branch : yt
py
diff --git a/addok/import_utils.py b/addok/import_utils.py index <HASH>..<HASH> 100644 --- a/addok/import_utils.py +++ b/addok/import_utils.py @@ -89,9 +89,11 @@ def import_from_csv(filepath, limit=None): def create_edge_ngrams(): + start = time.time() for key in DB.scan_iter(match='w|*'): key = k...
Time create_edge_ngrams
py
diff --git a/test/standalone/test_rpc_proxy.py b/test/standalone/test_rpc_proxy.py index <HASH>..<HASH> 100644 --- a/test/standalone/test_rpc_proxy.py +++ b/test/standalone/test_rpc_proxy.py @@ -266,7 +266,7 @@ def test_disconnect_with_pending_reply( connections = get_rabbit_connections(vhost, rabbit_manag...
add "pragma: no cover" in case no retries are needed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ setup(name='see', test_suite='tests', tests_require=list(filter(bool, TESTS_REQUIRE)), zip_safe=True, + keywords='see dir alternative inspect human readable pretty'.split(), clas...
Add keywords for PyPI [ci skip]
py
diff --git a/securesystemslib/hash.py b/securesystemslib/hash.py index <HASH>..<HASH> 100755 --- a/securesystemslib/hash.py +++ b/securesystemslib/hash.py @@ -194,7 +194,9 @@ def digest(algorithm=DEFAULT_HASH_ALGORITHM, hash_library=DEFAULT_HASH_LIBRARY): else: return hashlib.new(algorithm) - excep...
hash: raise UnsupportedAlgorithmError, not TypeError This raises TypeError on python < <I>: hashlib.new('blake2b', digest_size=<I>) because the argument is unexpected: re-raise as UnsupportedAlgorithmError
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1163,7 +1163,7 @@ class HTTPRequest: # manager doesn't have space for it. if not self.close_connection: can_keep = ( - self.ready + ...
server: ensure server is ready, rather than request
py
diff --git a/openquake/calculators/hazard/classical/core.py b/openquake/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/core.py +++ b/openquake/calculators/hazard/classical/core.py @@ -37,6 +37,8 @@ from openquake.utils import tasks as utils_tasks from open...
calcs/hazard/classical/core: Added a constant to limit HazardCurveData query sizes.
py
diff --git a/spyder/widgets/calltip.py b/spyder/widgets/calltip.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/calltip.py +++ b/spyder/widgets/calltip.py @@ -301,6 +301,6 @@ class CallTipWidget(QLabel): if position <= self._start_position: self.hide() elif char == ')': - p...
Calltip: Fix logic to hide it when you write a closing parenthesis
py
diff --git a/fints/client.py b/fints/client.py index <HASH>..<HASH> 100644 --- a/fints/client.py +++ b/fints/client.py @@ -54,12 +54,15 @@ class FinTSOperations(Enum): GET_SCHEDULED_DEBITS_SINGLE = ("HKDBS", ) GET_SCHEDULED_DEBITS_MULTIPLE = ("HKDMB", ) GET_STATUS_PROTOCOL = ("HKPRO", ) - SEPA_TRANSFE...
Fix SEPA_TRANSFER operations type Add standing debit operations types
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,10 @@ of the BSD license. See the LICENSE file for details. import re from setuptools import setup, find_packages -from atomic_reactor.constants import DESCRIPTION, HOMEPAGE + + +DESCRIPTION = "Python library wit...
Delete import dependencies from setup.py *CLOUDBLD-<I> We have to delete import dependencies from atomic-reactor in order to predict unstable behavior of the project with uninstalled packages
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -1551,7 +1551,7 @@ class Minion(MinionBase): # On first startup execute a state run if configured to do so self._state_run() - loop_interval = int(self.opts['loop_interval']) ...
loop_interval is a float, lets leave it that way
py
diff --git a/salt/states/cmd.py b/salt/states/cmd.py index <HASH>..<HASH> 100644 --- a/salt/states/cmd.py +++ b/salt/states/cmd.py @@ -231,7 +231,7 @@ def _run_check(cmd_kwargs, onlyif, unless, cwd, user, group, shell): def wait(name, onlyif=None, unless=None, - cwd='/root', + cwd=None,...
Updated more occurances of a default cwd
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,7 +24,7 @@ import shlex # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. -needs_sphinx = '1.3' +#needs_s...
removed <I> requirement since readthedocs does not support it yet
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,6 +72,7 @@ install_requires = [ 'requests >=2.20, <2.21', 'pyshp ==1.2.3', 'PyYAML', + 'toml', ] extras_require = {
Added toml to the dependencies [skip hazardlib]
py
diff --git a/packages/create-quip-app/bin/create-quip-app.py b/packages/create-quip-app/bin/create-quip-app.py index <HASH>..<HASH> 100755 --- a/packages/create-quip-app/bin/create-quip-app.py +++ b/packages/create-quip-app/bin/create-quip-app.py @@ -163,6 +163,12 @@ def is_enumerated_path(manifest, path): if old_...
Support custom toolbar icon/thumbnail in manifest.
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -134,6 +134,14 @@ def _linux_gpu_data(): - vendor: nvidia|amd|ati|... model: string ''' + lspci = salt.utils.which('lspci') + if not lspci: + log.in...
Don't try to parse GPU lspci output if the `lspci` binary is not available. Fixes #<I>.
py
diff --git a/pymatgen/io/vasp/outputs.py b/pymatgen/io/vasp/outputs.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/outputs.py +++ b/pymatgen/io/vasp/outputs.py @@ -1596,6 +1596,12 @@ class Outcar(MSONable): if self.data.get('noncollinear', []): self.noncollinear = False + # Check i...
Add check for internal strain tensor
py
diff --git a/hwinfo/tools/inspector.py b/hwinfo/tools/inspector.py index <HASH>..<HASH> 100644 --- a/hwinfo/tools/inspector.py +++ b/hwinfo/tools/inspector.py @@ -5,6 +5,7 @@ from prettytable import PrettyTable import paramiko import subprocess import os +import sys from hwinfo.pci import PCIDevice from hwinfo.p...
If we are accessing a remote machine we must have a username/password. Flag that to users.
py
diff --git a/demo/extract-img2.py b/demo/extract-img2.py index <HASH>..<HASH> 100644 --- a/demo/extract-img2.py +++ b/demo/extract-img2.py @@ -91,7 +91,7 @@ smasks = [] # stores xrefs of /SMask objects #------------------------------------------------------------------------------ for i in range(1, lenXREF): ...
Update extract-img2.py
py
diff --git a/python/add_mapillary_tag_from_exif.py b/python/add_mapillary_tag_from_exif.py index <HASH>..<HASH> 100755 --- a/python/add_mapillary_tag_from_exif.py +++ b/python/add_mapillary_tag_from_exif.py @@ -66,10 +66,11 @@ if __name__ == '__main__': if len(args) != 2: print("Usage: python add_mapillar...
Fix sequence uuid option
py
diff --git a/ELiDE/deck.py b/ELiDE/deck.py index <HASH>..<HASH> 100644 --- a/ELiDE/deck.py +++ b/ELiDE/deck.py @@ -613,6 +613,7 @@ class Card(RelativeLayout): self._fgrect = Rectangle(**self.foreground_kwargs) self._artcolor = Color(rgba=self.art_color) self._artrect = Rectangle(*...
put the color back to full white after drawing
py
diff --git a/avatar/models.py b/avatar/models.py index <HASH>..<HASH> 100644 --- a/avatar/models.py +++ b/avatar/models.py @@ -59,6 +59,7 @@ def avatar_path_handler(instance=None, filename=None, size=None, ext=None): tmppath.append(os.path.basename(filename)) return os.path.join(*tmppath) + avatar_file_pat...
Add blank line to resolve failing PEP8 check.
py
diff --git a/salt/crypt.py b/salt/crypt.py index <HASH>..<HASH> 100644 --- a/salt/crypt.py +++ b/salt/crypt.py @@ -147,8 +147,8 @@ class Auth(object): log.debug('Loaded minion key: {0}'.format(self.rsa_path)) else: log.info('Generating keys: {0}'.format(self.opts['pki_dir'])) - ...
Ref minion.pem on minion side Auth
py
diff --git a/django_fsm/signals.py b/django_fsm/signals.py index <HASH>..<HASH> 100644 --- a/django_fsm/signals.py +++ b/django_fsm/signals.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- from django.dispatch import Signal -pre_transition = Signal(providing_args=['instance', 'name', 'source', 'target']) -post_transition...
mRemoved providing_args kwarg from Signal constructor.
py
diff --git a/seleniumbase/console_scripts/sb_install.py b/seleniumbase/console_scripts/sb_install.py index <HASH>..<HASH> 100755 --- a/seleniumbase/console_scripts/sb_install.py +++ b/seleniumbase/console_scripts/sb_install.py @@ -42,7 +42,7 @@ LOCAL_PATH = "/usr/local/bin/" # On Mac and Linux systems DEFAULT_CHROMED...
Change the default version of OperaDriver (Chromium)
py
diff --git a/lhc/collections/inorder_access_set.py b/lhc/collections/inorder_access_set.py index <HASH>..<HASH> 100644 --- a/lhc/collections/inorder_access_set.py +++ b/lhc/collections/inorder_access_set.py @@ -3,7 +3,7 @@ from itertools import chain class InOrderAccessSet(object): def __init__(self, iterator, ...
changed in-order access to require multidimensional output keys
py
diff --git a/pyaas/__init__.py b/pyaas/__init__.py index <HASH>..<HASH> 100644 --- a/pyaas/__init__.py +++ b/pyaas/__init__.py @@ -1,7 +1,11 @@ import os -from .version import VERSION +try: + from .version import full_version as VERSION +except ImportError: + # just in case + VERSION = 'DEVELOPMENT' fr...
Don't break if version.py doesn't get generated
py
diff --git a/kettle/kettle.py b/kettle/kettle.py index <HASH>..<HASH> 100755 --- a/kettle/kettle.py +++ b/kettle/kettle.py @@ -147,6 +147,8 @@ class KettleManager: "Source": choice.source.entity_id, "PlayerId": 1, } + for show_choice in choice.cards: + self.queued_data.append(self.show_entity(show_choice)...
Kettle: Send ShowEntity list when playing entity choice card
py
diff --git a/tests/rules/test_brew_install.py b/tests/rules/test_brew_install.py index <HASH>..<HASH> 100644 --- a/tests/rules/test_brew_install.py +++ b/tests/rules/test_brew_install.py @@ -31,8 +31,7 @@ def test_match(brew_no_available_formula, brew_already_installed, stderr=brew_no_availabl...
Fix rules.brew_install tests on Mac
py
diff --git a/mpop/satin/nc_pps_l2.py b/mpop/satin/nc_pps_l2.py index <HASH>..<HASH> 100644 --- a/mpop/satin/nc_pps_l2.py +++ b/mpop/satin/nc_pps_l2.py @@ -398,6 +398,14 @@ class CloudType(NwcSafPpsChannel): NwcSafPpsChannel.__init__(self, filename) self.name = "CT" + def save(self, filename, old=...
Add saving to the cloudtype object.
py
diff --git a/librosa/onset.py b/librosa/onset.py index <HASH>..<HASH> 100644 --- a/librosa/onset.py +++ b/librosa/onset.py @@ -421,7 +421,8 @@ def onset_strength_multi(y=None, sr=22050, S=None, lag=1, max_size=3, axis=0) # compensate for lag - onset_env = np.pad(onset_env, (lag, 0),...
trying center-padding with lag
py
diff --git a/slouch/_version.py b/slouch/_version.py index <HASH>..<HASH> 100644 --- a/slouch/_version.py +++ b/slouch/_version.py @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.0.2-dev"
advance to <I>-dev
py
diff --git a/more_itertools/more.py b/more_itertools/more.py index <HASH>..<HASH> 100644 --- a/more_itertools/more.py +++ b/more_itertools/more.py @@ -249,6 +249,9 @@ def always_iterable(item): >>> always_iterable('foo') ('foo',) + >>> always_iterable(b'foo') == (b'foo',) + True + >>> always_iter...
Adding test to capture, test, and communicate that bytes are also treated like strings.
py
diff --git a/pelix/shell/console.py b/pelix/shell/console.py index <HASH>..<HASH> 100644 --- a/pelix/shell/console.py +++ b/pelix/shell/console.py @@ -190,13 +190,26 @@ class InteractiveShell(object): else: # Complete with name space names or default commands prefix = text...
Better command completion with readline Now handling commands from name spaces other than the default one.
py
diff --git a/zinnia/settings.py b/zinnia/settings.py index <HASH>..<HASH> 100644 --- a/zinnia/settings.py +++ b/zinnia/settings.py @@ -33,7 +33,7 @@ RESTRUCTUREDTEXT_SETTINGS = getattr( PREVIEW_SPLITTERS = getattr(settings, 'ZINNIA_PREVIEW_SPLITTERS', ['<!-- more -->', '<!--more-->']) -P...
PREVIEW_MAX_WORDS is now set to <I> words instead of <I>
py
diff --git a/addict/__init__.py b/addict/__init__.py index <HASH>..<HASH> 100644 --- a/addict/__init__.py +++ b/addict/__init__.py @@ -2,7 +2,7 @@ from .addict import Dict __title__ = 'addict' -__version__ = '0.3.2' +__version__ = '0.4.0' __author__ = 'Mats Julian Olsen' __license__ = 'MIT' __copyright__ = 'Cop...
Version bump. Deepcopy bumps it up to <I>
py
diff --git a/gdax/authenticated_client.py b/gdax/authenticated_client.py index <HASH>..<HASH> 100644 --- a/gdax/authenticated_client.py +++ b/gdax/authenticated_client.py @@ -15,8 +15,8 @@ from gdax.public_client import PublicClient class AuthenticatedClient(PublicClient): - def __init__(self, key, b64secret, p...
Fix super() call in AuthenticatedClient The `product_id` parameter was just removed from the PublicClient class and the corresponding super() call in AuthenticatedClient wasn't updated. AuthenticatedClient throws an error upon instantiation as a result.
py
diff --git a/dateparser/freshness_date_parser.py b/dateparser/freshness_date_parser.py index <HASH>..<HASH> 100644 --- a/dateparser/freshness_date_parser.py +++ b/dateparser/freshness_date_parser.py @@ -184,7 +184,7 @@ class FreshnessDateDataParser(object): ('0 يوم', ['اليوم']), ('1 يو...
Changed regex to match days upto any number of digits
py
diff --git a/test/test_connection.py b/test/test_connection.py index <HASH>..<HASH> 100644 --- a/test/test_connection.py +++ b/test/test_connection.py @@ -417,7 +417,7 @@ class TestConnection(unittest.TestCase): except: # Either mongod was started without --ipv6 # or the OS doesn't su...
When skipping a test, log why the test was skipped
py
diff --git a/alpaca_trade_api/common.py b/alpaca_trade_api/common.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/common.py +++ b/alpaca_trade_api/common.py @@ -12,7 +12,7 @@ def get_data_url(): def get_credentials(key_id=None, secret_key=None, oauth=None): - oauth = oauth or os.environ.get('APCA_API_OAUT...
Add '_TOKEN' to environment variable
py
diff --git a/test/test_value_object.py b/test/test_value_object.py index <HASH>..<HASH> 100644 --- a/test/test_value_object.py +++ b/test/test_value_object.py @@ -22,6 +22,10 @@ def test_default_init(): class DerivedWithInit(ValueObject): __slots__ = ["a", "b"] + def __init__(self, a, b): + self.a = a...
added __init__ to test
py
diff --git a/nion/instrumentation/video_base.py b/nion/instrumentation/video_base.py index <HASH>..<HASH> 100644 --- a/nion/instrumentation/video_base.py +++ b/nion/instrumentation/video_base.py @@ -173,13 +173,16 @@ class VideoConfiguration: def load(self, config_file: pathlib.Path): # read the configure...
Add error handling to avoid bad config file from derailing all video.
py
diff --git a/tests/v0x04/test_common/test_port.py b/tests/v0x04/test_common/test_port.py index <HASH>..<HASH> 100644 --- a/tests/v0x04/test_common/test_port.py +++ b/tests/v0x04/test_common/test_port.py @@ -11,8 +11,8 @@ class TestPort(TestCase): self.message.port_no = 2 self.message.hw_addr = '1a:2b:...
[v0x<I>] fix on tests of Port class
py