-
```py
def foo(value: int, /) -> None: ...
foo(1)
```
![image](https://github.com/DetachHead/basedpyright/assets/57028336/0db4aac6-2ad4-4beb-b5ca-3e3cb6bc1988)
-
Failed to make plot #5: lineplot() takes from 0 to 1 positional arguments but 2 were given
Plotting plot 6
Failed to make plot #6: barplot() takes from 0 to 1 positional arguments but 2 positional a…
-
**Is your feature request related to a problem? Please describe.**
Often we need to handle unknown amount of arguments in function call. But till now, we don't have any way to handle this behavior.
…
-
I'm thinking about piping from `xargs`
Kind of depends on doing type checking work first #19
-
```javascript
let r;
r = require("yargs")().command("echo [pos]").parse(`echo "a b" --opt "a b"`);
console.log(r.opt); // 'a b'
console.log(r.pos); // '"a b"'
// behavior originates here, where…
-
#16597 introduces a private decorator `deprecated_keywords` that's meant to ease transitioning positional-or-keyword arguments to positional-only without a sudden API break.
The deprecations introduc…
-
TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
-
When trying to run HapNe-IBD as recommended by guidelines on a standard set of human WGS (n=25), using the provided code in a file called split_vcf_chr_arm.py:
`split_vcf(vcf_file='./vcf_phased', sav…
-
They look like they are from the python upgrade:
```
src/local/butler/scripts/setup.py:372:17: E1101: Instance of 'MetricServiceClient' has no 'project_path' member (no-member)
src/local/butler/scr…
-
I'm trying to write a CLI similar to `ssh`. Here's the minimal example:
```typescript
import yargs from "yargs";
function main() {
yargs(process.argv.slice(2))
.usage(
"$0 [...]",…