Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Update supported Python versions #223

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Install poetry and dependencies
Expand All @@ -34,11 +33,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
uses: greenbone/workflows/.github/workflows/typing-python.yml@main
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -48,11 +46,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
uses: greenbone/workflows/.github/workflows/test-python.yml@main
with:
python-version: ${{ matrix.python-version }}
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Python Package Index using [pip](https://pip.pypa.io/):

python3 -m pip install autohooks-plugin-flake8

Note the `pip` refers to the Python 3 package manager. In an environment where
Python 2 is also available the correct command may be `pip3`.

### Install using poetry

It is highly encouraged to use [poetry](https://python-poetry.org) for
Expand Down Expand Up @@ -49,10 +46,10 @@ pre-commit = ["autohooks.plugins.flake8"]
include = ['foo/*.py', '*.foo']
```

To configure flake8 you can specify command-line options in the default flake8
To configure flake8 you can specify command-line options in the default flake8
configuration file *.flake8* in the root directory of the git repository.
To learn more about flake8 configuration see the configuration file or
the flake8 documentation. You can specify your own configuration file using
the flake8 documentation. You can specify your own configuration file using

```
arguments = ["--config=/path/to/flake8config"]
Expand All @@ -76,7 +73,7 @@ first.

## License

Copyright (C) 2019 - 2022 [Greenbone AG](https://www.greenbone.net/)
Copyright (C) 2019 - 2023 [Greenbone AG](https://www.greenbone.net/)

Licensed under the [GNU General Public License v3.0 or later](LICENSE).

Expand Down
Loading