Roy Wellington Ⅳ
Roy Wellington Ⅳ
When creating potentially sensitive directories, `dir_ensure` and `file_ensure` do not create the file with the passed mode; instead, the create it and then `chmod` it to the appropriate attributes. For...
Given the following `example.py`, ```python my_list = [1, 2, 3] a = 2+2 b = my_list[1:1+1] ``` `pycodestyle` incorrectly warns about the missing whitespace for the `+` operator inside the...
The docs [presently read](https://github.com/MongoEngine/mongoengine/blob/7d1ba466b466af37b499c44ecf807d65f9967850/mongoengine/base/fields.py#L65-66): > `:param null:` (optional) Is the field value can be null. If no and there is a default value > then the default value is set...
`pyup` appears to process `--index-url` lines in a `requirements.txt` file, in so much as it updates itself to point to that URL, instead of the default URL it has for...
If you run `pyup` in verbose mode, you'll see something like, ``` DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.org:443 DEBUG:urllib3.connectionpool:https://pypi.org:443 "GET /pypi/freezegun/json HTTP/1.1" 200 10740 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.org:443...
``` >>> a_cursor.execute('INSERT INTO binarystuff VALUES (%s)', (MySQLdb.Binary('\xdd'),)) ./env/bin/ipython:1: Warning: Invalid utf8 character string: 'DD' ``` (where `binarystuff` is a table, ```sql CREATE TABLE `binarystuff` ( `col` varbinary(10) NOT NULL,...
The UI isn't rendering correctly, and the mouse position isn't correct:  Note in the screenshot, the cube is the one that's about to be placed / the difference between...
There's a comment in [the Xenial `Dockerfile`](https://github.com/openresty/docker-openresty/blob/4e12d1e21d1231f323a242ee0c7d7cf10fcc3141/xenial/Dockerfile#L107): https://github.com/openresty/docker-openresty/blob/4e12d1e21d1231f323a242ee0c7d7cf10fcc3141/xenial/Dockerfile#L107 I think removing `build-essential` and `make`, just prior to the `apt-get autoremove` should cut the image size by ~100MiB, or ~20%.
The `cover` plugin will omit files that never get imported from the coverage report entirely. Further, when it computes the % of code covered by unit tests, these files are...
According to `setup.py`, `line-profiler` supports Python 2. However, it also lists a requirement on `IPython>=0.13`, which causes `pip` to attempt to install `IPython==6.0.0`, which cannot install on Python 2, as...