diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f630126..dcbccfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v2 @@ -31,10 +31,12 @@ jobs: pip install black==22.6.0 pip install pytest pip install PyYAML + pip install setuptools - name: validate-style run: | make validate-style - name: Tests run: | - pytest tests/ + + diff --git a/promformat/__main__.py b/promformat/__main__.py index 5ffc6ad..9f670a1 100644 --- a/promformat/__main__.py +++ b/promformat/__main__.py @@ -31,6 +31,5 @@ def main(): print(result) - if __name__ == "__main__": main() diff --git a/promformat/parser/PromQLParserListener.py b/promformat/parser/PromQLParserListener.py index 08c3aaa..ee90829 100644 --- a/promformat/parser/PromQLParserListener.py +++ b/promformat/parser/PromQLParserListener.py @@ -6,6 +6,7 @@ else: from PromQLParser import PromQLParser + # This class defines a complete listener for a parse tree produced by PromQLParser. class PromQLParserListener(ParseTreeListener):