diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 477bcc9..9b9f479 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9, '3.10'] fail-fast: true steps: diff --git a/src/djlint/settings.py b/src/djlint/settings.py index 458e324..a573fcc 100644 --- a/src/djlint/settings.py +++ b/src/djlint/settings.py @@ -37,7 +37,7 @@ def find_project_root(src: Path) -> Path: def load_gitignore(root: Path) -> PathSpec: - """Search upstream for a pyprojec.toml file.""" + """Search upstream for a .gitignore file.""" gitignore = root / ".gitignore" git_lines: List[str] = [] @@ -54,7 +54,7 @@ def load_gitignore(root: Path) -> PathSpec: def find_pyproject(root: Path) -> Optional[Path]: - """Search upstream for a pyprojec.toml file.""" + """Search upstream for a pyproject.toml file.""" pyproject = root / "pyproject.toml" @@ -138,7 +138,7 @@ def build_custom_blocks(custom_blocks: Union[str, None]) -> Optional[str]: class Config: - """Djling Config.""" + """Djlint Config.""" def __init__( self, diff --git a/tox.ini b/tox.ini index c6b5cf4..0d5f86c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = test +envlist = py3{7,8,9,10}-test skip_missing_interpreters = True isolated_build = True @@ -47,13 +47,13 @@ commands = ; check-manifest -v skip_install: true -[testenv:test] +[testenv] deps = pytest pytest-cov coverage commands = - pytest --cov=src/djlint --cov-branch --cov-report xml:coverage.xml --cov-report term-missing + pytest --cov=src/djlint --cov-branch --cov-report xml:coverage.xml --cov-report term-missing {posargs:} skip_install: false [testenv:docs]