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

[pull] master from gleitz:master #125

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
2 changes: 0 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

- Tasks solved

- Link to respective files

- Links to issues solved

## Pull Request type:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.11'

- name: Install Pip
run: python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/early-warning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.11'

- name: Setup environment
run: pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-non-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, '3.10']
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- "--config=.flake8rc"

- repo: https://github.com/PyCQA/pylint/
rev: v2.11.1
rev: v2.15.10
hooks:
- id: pylint
args:
Expand Down
7 changes: 0 additions & 7 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,6 @@ max-line-length=119
# Maximum number of lines in a module.
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<p align="center"><strong>⚡ Never open your browser to look for help again ⚡</strong></p>

<p align="center">
<a href="https://github.com/gleitz/howdoi/actions?query=workflow%3A%22Python+CI%22"><img src="https://img.shields.io/github/workflow/status/gleitz/howdoi/Python%20CI?style=plastic&color=78dce8" alt="build status"></a>
<a href="https://pepy.tech/project/howdoi"><img src="https://img.shields.io/badge/dynamic/json?style=plastic&color=ab9df2&maxAge=86400&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Fhowdoi" alt="downloads"></a>
<a href="https://github.com/gleitz/howdoi/actions?query=workflow%3A%22Python+CI%22"><img src="https://img.shields.io/github/actions/workflow/status/gleitz/howdoi/python.yml?style=plastic&color=78dce8" alt="build status"></a>
<a href="https://pepy.tech/project/howdoi"><img src="https://img.shields.io/pypi/dm/howdoi?style=plastic&color=ab9df2&maxAge=86400&label=downloads&query=%24.total_downloads&url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Fhowdoi" alt="downloads"></a>
<a href="https://pypi.python.org/pypi/howdoi"><img src="https://img.shields.io/pypi/pyversions/howdoi.svg?style=plastic&color=ff6188" alt="Python versions"></a>
</p>

Expand Down Expand Up @@ -59,6 +59,10 @@ howdoi will answer all sorts of queries:

pip install howdoi

or

brew install howdoi

## Usage

### New to howdoi?
Expand Down Expand Up @@ -183,7 +187,7 @@ how to get up and running with your first pull request.

## Notes

- Works with Python 3.6 and newer. Unfortunately Python 2.7 support
- Works with Python 3.7 and newer. Unfortunately Python 2.7 support
has been discontinued :(
- Special thanks to Rich Jones
([\@miserlou](https://github.com/miserlou)) for the idea
Expand Down
3 changes: 2 additions & 1 deletion docs/howdoi_advanced_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
won’t be that feasible. Hence, Howdoi has a stashing feature which allows you to save your query, view the query, delete the saved
results and even empty the entire stash ! (see keep documentation for more information on stashing). Here is how you can do this:

- **stashing: howdoi --save QUERY** **viewing: howdoi --view**
- **stashing: howdoi --save QUERY**
- **viewing: howdoi --view**
- **removing: howdoi --remove (will be prompted which answer to delete)**
- **emptying: howdoi --empty (empties entire stash, will be prompted to confirm)**

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ print(“hello”)
You'll need:

- `pip`
- Python 3.6 or above. Python 2.7 support is discontinued.
- Python 3.7 or above. Python 2.7 support is discontinued.

To install howdoi:

Expand Down
Loading
Loading