Tushar Sadhwani

Results 10 issues of Tushar Sadhwani

### Description Migrates `fastparse.py` and `fastparse2.py`, `semanal.py`, `semanal_*.py` and `typeanal.py` to use the `ErrorMessage` class. The initial plan was to do only `fastparse` and `fastparse2`, but because of how intertwined...

So this code works as expected: ```python node = astroid.extract_node(''' def foo(): return 42 ''') print(list(node.infer_call_result(caller=node))) ``` ```console $ python a.py [] ``` But this breaks: ```python node = astroid.extract_node('''...

Let me know if the fix is adequate or if it should be fixed in some other way. Resolves #569 Pending: - [ ] Add unit tests and integration tests...

Code snippet: ```python def f(): b"""abc""" ``` Output: ```console $ pydocstyle mytest.py Traceback (most recent call last): File "/Users/tusharsadhwani/code/marvin-python/venv3/bin/pydocstyle", line 8, in sys.exit(main()) File "/Users/tusharsadhwani/code/marvin-python/venv3/lib/python3.10/site-packages/pydocstyle/cli.py", line 68, in main sys.exit(run_pydocstyle())...

**Describe the bug** `pynecone.io` loads the website, but `www.pynecode.io` does not. It looks like you're missing a `www` CNAME record in your DNS config. **Screenshots** ![image](https://user-images.githubusercontent.com/86737547/225559117-5bd0df57-bbba-452c-b596-0e765ee06a8b.png) ![image](https://user-images.githubusercontent.com/86737547/225559078-f775bf5c-5d86-4871-a0a7-acbe07e9b14e.png)

```console > log(sqrt(10),2) 1.6609640474 > log(sqrt(10,2)) # even though sqrt only takes 1 argument 6.6438561898 > log(sqrt(10,2 # this has the same behaviour 6.6438561898 > log(sqrt(sqrt(10,2))) 13.2877123795 ``` `log(sqrt(10, 2))`...

The parser seems to crash on even the most trivial mixing of tabs and spaces: ```python def foo(x): with x: pass ``` The indentation is: 1 tab and 1 space,...

bug
parsing

`Boostable` and `MappingBoostable` seem general enough to be useful by many projects, what do you think?

Sounds crazy, but I think `W0640` (`cell-var-from-loop`) is a lint for an issue that is non-existent. Here's the code snippet from the example, which should supposedly cause `i` to be...

Documentation :green_book:
False Positive 🦟
Needs PR

### Bug description ```python def f(x): l = [] for i in x: l.append(i) return l a, b = f('12') ``` ### Configuration _No response_ ### Command used ```shell pylint...

Enhancement ✨
Control flow
Needs PR