Dan Palmer

Results 50 issues of Dan Palmer

A try/except of this form should not be a linter violation: ```python try: # something except: # handling... raise ``` The reasoning here is that all exceptions will propagate, this...

# Problem I've got some startup work to do[^1] that only makes sense to do for some of the commands the application is being run with. For example: I may...

enhancement

### Describe the bug The `queues` package is only able to run _up to_ 1 task per refresh interval, per worker. For example, a system configured with 1 worker and...

bug

## Description Re-work of #10005 based on the updated codebase. Moves Splitwise to OAuth rather than manual API key configuration. ## Checklist - [x] I read the [extension guidelines](https://developers.raycast.com/basics/prepare-an-extension-for-store) -...

extension fix / improvement
extension: splitwise

Sublime Text provides some placeholders such as `project_path` that can be used in configuration. To configure Sublack currently, this must be hard-coded: ```json { "black_command": "/path/to/my/venv/bin/black" } ``` As each...

`freezegun` allows a datetime spec string to encode a timezone offset like this: ```python >>> with freeze_time('2020-04-15 12:00 +1'): ... print(repr(datetime.datetime.now(tz=dateutil.tz.UTC))) FakeDatetime(2020, 4, 15, 11, 0, tzinfo=tzutc()) ``` This produces...

It's possible for a `tzinfo` object to only have an offset and no named timezone. For example: ```python >>> dateutil.parser.parse('2020-04-12 00:26 +1') datetime.datetime(2020, 4, 12, 0, 26, tzinfo=tzoffset(None, 3600)) ```...

http://programmer.97things.oreilly.com/wiki/index.php/The_Boy_Scout_Rule At Thread, we adhere to the Boy Scout rule of "try and leave the world a little better than how you found it". As a result, code review comments...

I don't install global python dependencies, they are all in virtualenvs. It would be really useful to be able to set a dynamic path to isort, something like: ``` ~/.virtualenvs/$PROJECT_NAME/bin/isort...

* Layer Linter version: latest * Python version: 3.6 * Operating System: macOS ### Description Layer linter takes a while to run on a moderately sized codebase. This is understandable...