5j9
5j9
I solved my issue by using `open(self.filename, 'r', errors='ignore')` instead of `open(self.filename, 'r')` in line 39. But I'm not sure if this is the best way to do it. Alternatively,...
What do you think about creating offline tests using `unittest.mock`, patching `subprocess.Popen`, and checking `logger` calls instead of making actual subprocess calls to pip? Such tests would run in an...
I'd also suggest dropping [support ](https://github.com/jgonggrijp/pip-review/blob/46a0fccd0ffee23034882a2e8ac6090c612be3b6/pip_review/__main__.py#L208) for pip versions earlier than [v10.0.1](https://pip.pypa.io/en/stable/news/#v10-0-1) (that's about the time [Python 3.7 got released](https://docs.python.org/3/whatsnew/3.7.html)).
Win 10 64-bit. Python 3.5.1 32-bit. Steps to reproduce: 1. Open a python script. 2. Run a repl. (`ctrl+shift+p`, type `sublimerepl: python`, press `enter` ) 3. Try running the script...
Thanks for the suggestion. The [recommendation for names](https://en.wikipedia.org/wiki/Help:Footnotes#Footnotes:_using_a_source_more_than_once) is to keep them "simple and restricted to the standard English alphabet and numerals". Using titles as names may violate that recommendation...
The latest release of `lxml` only supports 3.6+. [Support for Python 2.7 and Python versions < 3.6 was removed](https://lxml.de/5.3/changes-5.3.0.html) in v5.1.0 (2024-01-05).
Not sure if this is related or not, but I'm frequently getting the following error from pycharm when I have multiple projects open: ``` com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Read access is allowed from...
@ZKaoChi Hi! Thanks for looking into this. The default `unit` value is `ns`, and I think that's the lowest resolution supported. So that might be expected for the default `ns`...
@woutervh The `sitecustomize-entrypoints` solution won't work if the `pyproject.toml` doesn't define a `[build-system]` table, correct? My `uv`-managed Git repository doesn't have a build system defined, only dependencies. I believe this...
I don't use pytz, but this could be a pytz issue because if you run the same code using `datetime` instead of `jdatetime` you'll get the same result. If you...