Giter Site home page Giter Site logo

dapper-magician / espanso-nice-dev-refs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reitzig/espanso-nice-dev-refs

0.0 0.0 0.0 105 KB

A package for espanso; takes URLs from the clipboard and inserts a formatted link based on it.

License: GNU General Public License v3.0

Python 100.00%

espanso-nice-dev-refs's Introduction

Poetry Code style: black Ruff license GitHub release date Test CodeQL

Nice Developer References – an espanso package

A package for espanso/espanso.

Takes URLs from the clipboard and inserts a formatted link based on it.

Usage

➡️ nice-dev-refs

Installation

Requirements: Python >= 3.8

Unfortunately, we have to perform the installation with a little bit more finger-grease as we are used to (Discussion):

# cd anywhere/you/want
git clone [email protected]:reitzig/espanso-nice-dev-refs.git
cd espanso-nice-dev-refs

espanso install nice-dev-refs --git "$(realpath "$(pwd)")" --external

mkdir -p ~/.config/espanso/scripts/
ln -s "$(realpath "$(pwd)")"/scripts/*.py ~/.config/espanso/scripts/

For more selective application refer to Include and Exclude rules

Contributing

🥳 Support for additional URL patterns is welcome – unless and until replace performance decreases too much. To limit the scope somewhat, let's stick to things you link to all the time in software development.

Whether you want to fix a bug or add a feature,

  • add at least one (red) test,
  • make it green,
  • make sure neither black nor ruff complain, and
  • create a PR.

Development

Prepare a checkout of your fork:

pyenv local  # if you are into this kind of thing
poetry install --no-root
# activate .venv

Now you should be able to run the relevant commands:

black .       # formatting
ruff check .  # linting
pytest        # testing

For convenience, there are also

poe lint
poe test

We include configuration for evilmartians/lefthook which we encourage you to use.

We also consider direnv/direnv to be inherently useful, and therefore include our .envrc.

espanso-nice-dev-refs's People

Contributors

dependabot[bot] avatar reitzig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.