Tyler C Laprade, CFA
Tyler C Laprade, CFA
**Describe the bug** Black's `--preview` mode makes it impossible to suppress a type error in a string with a long comment. **To Reproduce** For example, take this code: ```python def...
This should go to https://docs.sourcery.ai/Guides/Getting-Started/CI/, but instead goes to https://docs.sourcery.ai/Guides/Getting-Started/Command-Line/#continuous-integration, which no longer is relevant since CI was moved to its own page.
### Checklist - [x] This is a new feature, not a refactoring suggestion - [x] I have checked for this feature in the [Sourcery documentation](https://docs.sourcery.ai/) - [x] I have checked...
### Checklist - [x] This is a new feature, not a refactoring suggestion - [x] I have checked for this feature in the [Sourcery documentation](https://docs.sourcery.ai/) - [x] I have checked...
```python arr = ['a', 'b', 'c', 'd', 'e', 'f'] mydict = {} for i in range(0, len(arr)): def foo(): mydict[arr[i]] = 0 foo() ``` This example is obviously too simple...
When I press tab to accept a suggestion, it should not also tab out of where I was editing because that tab signifies something very different.
After setting up `ts-reset`, I get the following error when running TypeScript: ``` node_modules/@reduxjs/toolkit/src/query/core/buildMiddleware/batchActions.ts:109:7 - error TS2322: Type 'unknown' is not assignable to type 'SubscriptionState'. 109 previousSubscriptions = JSON.parse( ~~~~~~~~~~~~~~~~~~~~~...
Fixes #103 ## Test plan #### Pyright recognizes a `Model` type #### Pyright rejects a non-model type #### Pyright rejects an instance of a model in place of the type...
I have been enjoying using `get_object_or_None` all over my project in place of lazy incorrect `.first()` calls, and it's really great. However, it has the downside of losing the information...