diff --git a/.editorconfig b/.editorconfig index d9b574d..b25efea 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,4 +10,4 @@ insert_final_newline = true charset = utf-8 indent_style = space indent_size = 4 -quote_type = single +quote_type = double diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index dcf1465..a2c09a3 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,50 +1,50 @@ -name: 'Set up repository for CI' -description: 'Install development dependencies' +name: "Set up repository for CI" +description: "Install development dependencies" inputs: python-version: - description: 'Python version to install' - default: '3.12' + description: "Python version to install" + default: "3.12" poetry-version: - description: 'Poetry version to install' - default: '1.6.1' + description: "Poetry version to install" + default: "1.7.0" cache: - description: 'Cache directory' - default: '${{ runner.temp }}/cache' + description: "Cache directory" + default: "${{ runner.temp }}/cache" runs: - using: 'composite' + using: "composite" steps: - - name: 'Set up Python' + - name: "Set up Python" id: setup-python uses: actions/setup-python@v4 with: python-version: ${{ inputs.python-version }} update-environment: false - - name: 'Set up Python 3.12 for Poetry' + - name: "Set up Python 3.12 for Poetry" id: setup-poetry-python uses: actions/setup-python@v4 with: python-version: 3.12 - - name: 'Set up dependency cache' + - name: "Set up dependency cache" uses: actions/cache@v3 with: - key: ${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.poetry-version }}-${{ hashFiles('poetry.lock') }} + key: ${{ runner.os }}-${{ steps.setup-poetry-python.outputs.python-version }}-${{ steps.setup-python.outputs.python-version }}-${{ inputs.poetry-version }}-${{ hashFiles('poetry.lock') }} path: ${{ inputs.cache }} - - name: 'Set up PATH on POSIX' + - name: "Set up PATH on POSIX" if: ${{ runner.os != 'windows'}} shell: bash run: echo "${{ inputs.cache }}/tools/bin" >> $GITHUB_PATH - - name: 'Set up PATH on Windows' + - name: "Set up PATH on Windows" if: ${{ runner.os == 'windows'}} shell: bash run: echo "${{ inputs.cache }}/tools/Scripts" >> $GITHUB_PATH - - name: 'Install Poetry' + - name: "Install Poetry" shell: bash run: | if ! poetry --version; then @@ -52,7 +52,7 @@ runs: pip install poetry==${{ inputs.poetry-version }} fi - - name: 'Install development dependencies' + - name: "Install development dependencies" shell: bash run: | poetry config cache-dir "${{ inputs.cache }}/poetry" diff --git a/mkdocs.yml b/mkdocs.yml index 8e6d35d..0b63829 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,10 +1,10 @@ site_name: Decoy -site_description: 'Opinionated mocking library for Python.' -site_author: 'Michael Cousins' -site_url: 'https://michael.cousins.io/decoy/' -repo_url: 'https://github.com/mcous/decoy' -repo_name: 'mcous/decoy' -edit_uri: '' +site_description: "Opinionated mocking library for Python." +site_author: "Michael Cousins" +site_url: "https://michael.cousins.io/decoy/" +repo_url: "https://github.com/mcous/decoy" +repo_name: "mcous/decoy" +edit_uri: "" nav: - Getting Started: index.md @@ -22,24 +22,24 @@ nav: - license.md theme: - name: 'material' + name: "material" favicon: img/favicon.ico icon: logo: material/duck features: - navigation.instant - navigation.sections - font: 'Open Sans' - code: 'Fira Mono' + font: "Open Sans" + code: "Fira Mono" palette: - - media: '(prefers-color-scheme: light)' + - media: "(prefers-color-scheme: light)" scheme: default primary: black accent: indigo toggle: icon: material/weather-sunny name: Switch to dark mode - - media: '(prefers-color-scheme: dark)' + - media: "(prefers-color-scheme: dark)" scheme: slate primary: amber accent: yellow @@ -63,7 +63,7 @@ watch: markdown_extensions: - toc: - permalink: '#' + permalink: "#" - admonition - pymdownx.highlight - pymdownx.superfences