Update pre-commit to all files and Mypy setup (#247)
* Update pre-commit and mypy .ini just like the main strawberry project
* add a lint error on purpose to test lint
* add a release md and add file attr to tmol pre-commit
* fix test action to run when a PR is ready for review
* test mappe
* fix action
* continue with tests in lint in nox file
* remove pydantic.mypy plugin
* made first lint ajustment, but still missing lint test
* add ruff and black to lint te
* Fix nox file and add ruff to pyptoject toml
* fix poetry lock
* fix command to raise error
* make ruff output errors
* bring back black to pre-commit
* remove --diff from ruff because we want to run in all files, remove invalid rules in lint
* update pre-commit to ruff run lint and formatter
* separate ruff lint from formater in noxfile
* remove test function from mapper
* remove black and use only ruff
* add lint tag to ruff format in nox
* change test.yml to run lint and format divided
* Run pre-commit in all files and made line-lenght 100
* updated ruff check
* update pyproject.toml
* Made sourcery fixes
* remove unecessary else
* bring back session._session