DetachHead

Results 673 issues of DetachHead

**Describe the bug** **To Reproduce** Code snippet to reproduce the behavior: ```dart import 'dart:io'; import 'package:pdf/pdf.dart'; import 'package:pdf/widgets.dart' as pw; void main() async { final file = File('asdf.pdf'); final pdf...

bug
needs triage

**Is your feature request related to a problem? Please describe.** i'm trying to create a pdf simplar to [this example](https://github.com/DavBfr/dart_pdf/blob/master/demo/lib/examples/document.dart) but i want to be able to do stuff like...

support

**Describe the bug** when attempting to type check `svelte.config.js` with typescript, i get the following error: ``` > tsc -p tsconfig.json node_modules/svelte-preprocess/dist/types/options.d.ts:4:55 - error TS7016: Could not find a declaration...

```py def foo() -> None: ... ``` ``` E704 multiple statements on one line (def) ``` black puts the `...` on the same line in `.pyi` files

Currently playwright says `playwright._impl._api_types.TimeoutError` or `playwright._impl._api_types.Error`, could you please add a lot more errors such as `NavigationError`, `SelectorNotFoundError` etc. Use case is that I want to handle specific errors in...

P3-collecting-feedback

original issue: https://github.com/microsoft/playwright/issues/11668 the solution provided doesn't work unless you are using `@playwright/test` with nodejs - see https://github.com/microsoft/playwright/issues/11668#issuecomment-1067483802 so this is still a problem when using playwright with python **Context:**...

P3-collecting-feedback

### Bug description ```py import inspect from dataclasses import dataclass @dataclass(kw_only=True) class Foo: a: int b: str @dataclass(kw_only=False) class Bar(Foo): c: int print(inspect.signature(Bar.__init__)) # (self, c: int, *, a: int,...

Needs triage :inbox_tray:

### Bug description ```py import inspect from dataclasses import dataclass, field @dataclass class Foo: a: int b: str @dataclass class Bar(Foo): a: int = field(init=False, default=1) c: str a =...

Needs triage :inbox_tray:

```py import tempfile with tempfile.NamedTemporaryFile() as file: reveal_type(file) # tempfile._TemporaryFileWrapper[builtins.bytes] file.asdfasdf # no error ``` https://mypy-play.net/?mypy=latest&python=3.10&flags=show-error-context%2Cshow-error-codes%2Cstrict%2Ccheck-untyped-defs%2Cdisallow-any-decorated%2Cdisallow-any-expr%2Cdisallow-any-explicit%2Cdisallow-any-generics%2Cdisallow-any-unimported%2Cdisallow-incomplete-defs%2Cdisallow-subclassing-any%2Cdisallow-untyped-calls%2Cdisallow-untyped-decorators%2Cdisallow-untyped-defs%2Cno-implicit-optional%2Cno-implicit-reexport%2Clocal-partial-types%2Cstrict-equality%2Cwarn-incomplete-stub%2Cwarn-redundant-casts%2Cwarn-return-any%2Cwarn-unreachable%2Cwarn-unused-configs%2Cwarn-unused-ignores&gist=ef2074a29b833738372beb1008fd3ead tested with both mypy and pyright

topic-io

### Build tool Vite ### Where do you see the problem? - [ ] In the browser - [X] In the terminal ### Describe the bug ``` >npx vite build...

bug
windows