Skip to content

Commit

Permalink
Add refactoring.md and tweak virtual environments docs (take 2) (#341)
Browse files Browse the repository at this point in the history
I took over
- #265 

rebased and made a tweak. This PR now only closes 
- #257 

---

Questions that come to mind:
- Do we even want a separate refactoring page any more? 
- Has anyone ever actually used rope?
- Dev tools is now quite short.

---------

Co-authored-by: ruaridhg <[email protected]>
Co-authored-by: ruaridhg <[email protected]>
Co-authored-by: David Stansby <[email protected]>
  • Loading branch information
4 people authored Mar 27, 2024
1 parent bdddd76 commit dcda747
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
File renamed without changes.
12 changes: 12 additions & 0 deletions docs/pages/refactoring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Refactoring tools
layout: default
---

# Refactoring Tools

| Name | Short description | 🚦 |
| ----------------------------------------------------------- | -------------------------------------------------------------- | --- |
| [jedi](https://jedi.readthedocs.io/en/stable/) | Refactoring and autocompletion used in IDEs. | 🟢 |
| [sourcery.ai](https://sourcery.ai) | Refactoring suggestions and code review. Free for open source. | 🟠 |
| [rope](https://rope.readthedocs.io/en/stable/overview.html) | Refactoring library. | 🟠 |
6 changes: 6 additions & 0 deletions docs/pages/utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ want to write these yourself but might need logging or a command-line interface.
| --------------------------------------------------------- | -------------------------------------------------------------------- | :-: |
| [loguru](https://loguru.readthedocs.io/) | Simple and user-friendly with many nice features enabled by default. | 🟢 |
| [logging](https://docs.python.org/3/library/logging.html) | Python's builtin logging framework. Needs some configuration. | 🟠 |

## User interface

| Name | Short description | 🚦 |
| -------------------------------------------- | ----------------------- | :-: |
| [tqdm](https://pypi.org/project/tqdm/2.2.3/) | Progress bar for loops. | 🟢 |
10 changes: 1 addition & 9 deletions docs/pages/dev.md → docs/pages/virtual.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Dev tools
title: Virtual environments
layout: default
---

Expand All @@ -12,11 +12,3 @@ layout: default
| [pyenv](https://github.com/pyenv/pyenv) | Lets you easily switch between multiple versions of Python. | 🟠 |
| [virtualenv](https://virtualenv.pypa.io/en/latest/) | Creates isolated Python environments, and offers more features than venv. | 🟠 |
| [venv](https://docs.python.org/3/library/venv.html) | Creates isolated Python environments. | 🔴 |

# Other

| Name | Short description | 🚦 |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------- | :-: |
| [jedi](https://jedi.readthedocs.io/en/latest/) | Refactoring and autocompletion used in for integrated development environments (IDEs). | 🟢 |
| [rope](https://rope.readthedocs.io/en/latest/overview.html) | Refactoring library. | |
| [tqdm](https://pypi.org/project/tqdm/2.2.3/) | Progress bar for loops. | 🟢 |

0 comments on commit dcda747

Please sign in to comment.