forked from AFPy/potodo
Project freed from a close-source forge.
This commit is contained in:
parent
ec21eedbae
commit
70afaca435
|
@ -1,65 +0,0 @@
|
||||||
{
|
|
||||||
"files": [
|
|
||||||
"README.md"
|
|
||||||
],
|
|
||||||
"imageSize": 100,
|
|
||||||
"commit": false,
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"login": "JulienPalard",
|
|
||||||
"name": "Julien Palard",
|
|
||||||
"avatar_url": "https://avatars2.githubusercontent.com/u/239510?v=4",
|
|
||||||
"profile": "https://mdk.fr",
|
|
||||||
"contributions": [
|
|
||||||
"review",
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"login": "awecx",
|
|
||||||
"name": "Antoine",
|
|
||||||
"avatar_url": "https://avatars1.githubusercontent.com/u/43954001?v=4",
|
|
||||||
"profile": "https://github.com/awecx",
|
|
||||||
"contributions": [
|
|
||||||
"review",
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"login": "Seluj78",
|
|
||||||
"name": "Jules Lasne (jlasne)",
|
|
||||||
"avatar_url": "https://avatars0.githubusercontent.com/u/4641317?v=4",
|
|
||||||
"profile": "https://juleslasne.com",
|
|
||||||
"contributions": [
|
|
||||||
"review",
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"login": "grenoya",
|
|
||||||
"name": "Claire Revillet",
|
|
||||||
"avatar_url": "https://avatars3.githubusercontent.com/u/996321?v=4",
|
|
||||||
"profile": "https://github.com/grenoya",
|
|
||||||
"contributions": [
|
|
||||||
"review",
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"login": "christopheNan",
|
|
||||||
"name": "Christophe Nanteuil",
|
|
||||||
"avatar_url": "https://avatars2.githubusercontent.com/u/35002064?v=4",
|
|
||||||
"profile": "https://github.com/christopheNan",
|
|
||||||
"contributions": [
|
|
||||||
"review",
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"contributorsPerLine": 7,
|
|
||||||
"projectName": "Potodo",
|
|
||||||
"projectOwner": "Seluj78",
|
|
||||||
"repoType": "github",
|
|
||||||
"repoHost": "https://github.com",
|
|
||||||
"skipCi": true
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
liberapay: python-docs-fr
|
|
|
@ -1,31 +0,0 @@
|
||||||
# This workflows will upload a Python Package using Twine when a release is created
|
|
||||||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
||||||
|
|
||||||
name: Upload Python Package
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: '3.x'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install setuptools wheel twine build
|
|
||||||
- name: Build and publish
|
|
||||||
env:
|
|
||||||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
||||||
run: |
|
|
||||||
python -m build
|
|
||||||
python -m twine upload dist/*
|
|
|
@ -1,39 +0,0 @@
|
||||||
name: Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: Run tox on ${{ matrix.os }} for Python ${{ matrix.tox.py_version }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest, macos-latest]
|
|
||||||
tox:
|
|
||||||
- py_version: '3.7'
|
|
||||||
env: py37
|
|
||||||
- py_version: '3.8'
|
|
||||||
env: py38
|
|
||||||
- py_version: '3.9'
|
|
||||||
env: py39
|
|
||||||
- py_version: '3.10'
|
|
||||||
env: py310,flake8,mypy,black
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.tox.py_version }}
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: .tox
|
|
||||||
key: ${{ matrix.os }}-${{ matrix.tox.python-version }}-${{ hashFiles('tox.ini') }}-${{ hashFiles('requirements-dev.txt') }}
|
|
||||||
- name: Install tox
|
|
||||||
run: python3 -m pip install tox
|
|
||||||
- name: Run tox
|
|
||||||
run: tox -q -p all -e ${{ matrix.tox.env }}
|
|
40
README.md
40
README.md
|
@ -1,16 +1,10 @@
|
||||||
[comment]: <> (<p align="center"><img width=12.5% src="https://github.com/afpy/potodo/blob/master/media/Logo.png"></p>)
|
<p align="center"><img width=60% src="https://git.afpy.org/AFPy/potodo/raw/branch/master/media/Potodo.png"></p>
|
||||||
<p align="center"><img width=60% src="https://github.com/afpy/potodo/blob/master/media/Potodo.png"></p>
|
|
||||||
|
|
||||||
|
|
||||||
![Python](https://img.shields.io/badge/python-v3.6+-blue.svg)
|
|
||||||
![Build status](https://img.shields.io/github/workflow/status/afpy/potodo/Tests)
|
|
||||||
[![GitHub Issues](https://img.shields.io/github/issues/afpy/potodo.svg)](https://github.com/afpy/potodo/issues)
|
|
||||||
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)
|
|
||||||
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
|
||||||
![PyPI](https://img.shields.io/pypi/v/potodo)
|
![PyPI](https://img.shields.io/pypi/v/potodo)
|
||||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
![Python](https://img.shields.io/badge/python-v3.6+-blue.svg)
|
||||||
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-)
|
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
||||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
![Contributions welcome](https://img.shields.io/badge/contributions-welcome-orange.svg)
|
||||||
|
|
||||||
## What is it ?
|
## What is it ?
|
||||||
|
|
||||||
|
@ -134,7 +128,7 @@ pip install -e .
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
1. Fork it (<https://github.com/afpy/potdo/fork>)
|
1. Fork it (<https://git.afpy.org/repo/fork/100>)
|
||||||
2. Create your feature branch (`git checkout -b feature/fooBar`
|
2. Create your feature branch (`git checkout -b feature/fooBar`
|
||||||
|
|
||||||
`/!\` Don't forget to bump the version in `potodo/__init__.py` when you're pushing your changes to your branch
|
`/!\` Don't forget to bump the version in `potodo/__init__.py` when you're pushing your changes to your branch
|
||||||
|
@ -142,27 +136,3 @@ pip install -e .
|
||||||
3. Commit your changes (`git commit -am 'Add some fooBar'`)
|
3. Commit your changes (`git commit -am 'Add some fooBar'`)
|
||||||
4. Push to the branch (`git push origin feature/fooBar`)
|
4. Push to the branch (`git push origin feature/fooBar`)
|
||||||
5. Create a new Pull Request
|
5. Create a new Pull Request
|
||||||
|
|
||||||
|
|
||||||
## Contributors ✨
|
|
||||||
|
|
||||||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
||||||
|
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
||||||
<!-- prettier-ignore-start -->
|
|
||||||
<!-- markdownlint-disable -->
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<td align="center"><a href="https://mdk.fr"><img src="https://avatars2.githubusercontent.com/u/239510?v=4" width="100px;" alt=""/><br /><sub><b>Julien Palard</b></sub></a><br /><a href="https://github.com/Seluj78/Potodo/pulls?q=is%3Apr+reviewed-by%3AJulienPalard" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Seluj78/Potodo/commits?author=JulienPalard" title="Code">💻</a></td>
|
|
||||||
<td align="center"><a href="https://github.com/awecx"><img src="https://avatars1.githubusercontent.com/u/43954001?v=4" width="100px;" alt=""/><br /><sub><b>Antoine</b></sub></a><br /><a href="https://github.com/Seluj78/Potodo/pulls?q=is%3Apr+reviewed-by%3Aawecx" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Seluj78/Potodo/commits?author=awecx" title="Code">💻</a></td>
|
|
||||||
<td align="center"><a href="https://juleslasne.com"><img src="https://avatars0.githubusercontent.com/u/4641317?v=4" width="100px;" alt=""/><br /><sub><b>Jules Lasne (jlasne)</b></sub></a><br /><a href="https://github.com/Seluj78/Potodo/pulls?q=is%3Apr+reviewed-by%3ASeluj78" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Seluj78/Potodo/commits?author=Seluj78" title="Code">💻</a></td>
|
|
||||||
<td align="center"><a href="https://github.com/christopheNan"><img src="https://avatars2.githubusercontent.com/u/35002064?v=4" width="100px;" alt=""/><br /><sub><b>Christophe Nanteuil</b></sub></a><br /><a href="https://github.com/Seluj78/Potodo/pulls?q=is%3Apr+reviewed-by%3AchristopheNan" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Seluj78/Potodo/commits?author=christopheNan" title="Code">💻</a></td>
|
|
||||||
<td align="center"><a href="https://github.com/grenoya"><img src="https://avatars3.githubusercontent.com/u/996321?v=4" width="100px;" alt=""/><br /><sub><b>Claire Revillet</b></sub></a><br /><a href="https://github.com/Seluj78/Potodo/pulls?q=is%3Apr+reviewed-by%3Agrenoya" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Seluj78/Potodo/commits?author=grenoya" title="Code">💻</a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<!-- markdownlint-enable -->
|
|
||||||
<!-- prettier-ignore-end -->
|
|
||||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
||||||
|
|
||||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ def interactive_output(path: Path, ignore_matches: Callable[[str], bool]) -> Non
|
||||||
break
|
break
|
||||||
if final_choice == 0:
|
if final_choice == 0:
|
||||||
webbrowser.open(
|
webbrowser.open(
|
||||||
f"https://github.com/python/python-docs-fr/issues/new?title=Je%20travaille%20sur%20"
|
f"https://git.afpy.org/AFPy/python-docs-fr/issues/new?title=Je%20travaille%20sur%20"
|
||||||
f"{directory}/{file}"
|
f"{directory}/{file}"
|
||||||
f"&body=%0A%0A%0A---%0AThis+issue+was+created+using+potodo+interactive+mode."
|
f"&body=%0A%0A%0A---%0AThis+issue+was+created+using+potodo+interactive+mode."
|
||||||
)
|
)
|
||||||
|
|
|
@ -35,7 +35,7 @@ content-type = "text/markdown"
|
||||||
text = "MIT License"
|
text = "MIT License"
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://github.com/afpy/potodo"
|
Homepage = "https://git.afpy.org/AFPy/potodo"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
potodo = "potodo.potodo:main"
|
potodo = "potodo.potodo:main"
|
||||||
|
|
Loading…
Reference in New Issue