├── .dockerignore ├── .github ├── dependabot.yml └── workflows │ └── tests.yml ├── .gitignore ├── .pre-commit-hooks.yaml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE ├── README.md ├── poetry.lock ├── poetry.toml ├── pybetter ├── __init__.py ├── __main__.py ├── cli.py ├── improvements.py ├── transformers │ ├── __init__.py │ ├── all_attribute.py │ ├── base.py │ ├── boolean_equality.py │ ├── empty_fstring.py │ ├── equals_none.py │ ├── mutable_args.py │ ├── nested_withs.py │ ├── not_in.py │ ├── not_is.py │ ├── parenthesized_return.py │ └── unhashable_list.py └── utils.py ├── pyproject.toml ├── pytest.ini ├── test.py └── tests ├── __init__.py ├── conftest.py ├── test_all_attribute.py ├── test_boolean_equality.py ├── test_equals_none.py ├── test_mutable_args.py ├── test_nested_withs.py ├── test_no_crashes.py ├── test_not_in.py ├── test_not_is.py ├── test_parenthesized_return.py ├── test_trivial_fstring.py └── test_unhashable_list.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/README.md -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/poetry.lock -------------------------------------------------------------------------------- /poetry.toml: -------------------------------------------------------------------------------- 1 | [virtualenvs] 2 | in-project = true 3 | -------------------------------------------------------------------------------- /pybetter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pybetter/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/__main__.py -------------------------------------------------------------------------------- /pybetter/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/cli.py -------------------------------------------------------------------------------- /pybetter/improvements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/improvements.py -------------------------------------------------------------------------------- /pybetter/transformers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pybetter/transformers/all_attribute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/all_attribute.py -------------------------------------------------------------------------------- /pybetter/transformers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/base.py -------------------------------------------------------------------------------- /pybetter/transformers/boolean_equality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/boolean_equality.py -------------------------------------------------------------------------------- /pybetter/transformers/empty_fstring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/empty_fstring.py -------------------------------------------------------------------------------- /pybetter/transformers/equals_none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/equals_none.py -------------------------------------------------------------------------------- /pybetter/transformers/mutable_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/mutable_args.py -------------------------------------------------------------------------------- /pybetter/transformers/nested_withs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/nested_withs.py -------------------------------------------------------------------------------- /pybetter/transformers/not_in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/not_in.py -------------------------------------------------------------------------------- /pybetter/transformers/not_is.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/not_is.py -------------------------------------------------------------------------------- /pybetter/transformers/parenthesized_return.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/parenthesized_return.py -------------------------------------------------------------------------------- /pybetter/transformers/unhashable_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/transformers/unhashable_list.py -------------------------------------------------------------------------------- /pybetter/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pybetter/utils.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/pytest.ini -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/test.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_all_attribute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_all_attribute.py -------------------------------------------------------------------------------- /tests/test_boolean_equality.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_boolean_equality.py -------------------------------------------------------------------------------- /tests/test_equals_none.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_equals_none.py -------------------------------------------------------------------------------- /tests/test_mutable_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_mutable_args.py -------------------------------------------------------------------------------- /tests/test_nested_withs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_nested_withs.py -------------------------------------------------------------------------------- /tests/test_no_crashes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_no_crashes.py -------------------------------------------------------------------------------- /tests/test_not_in.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_not_in.py -------------------------------------------------------------------------------- /tests/test_not_is.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_not_is.py -------------------------------------------------------------------------------- /tests/test_parenthesized_return.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_parenthesized_return.py -------------------------------------------------------------------------------- /tests/test_trivial_fstring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_trivial_fstring.py -------------------------------------------------------------------------------- /tests/test_unhashable_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lensvol/pybetter/HEAD/tests/test_unhashable_list.py --------------------------------------------------------------------------------