Giter Club home page Giter Club logo

auto-click-auto's People

Contributors

kauth avatar taspotts avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

taspotts

auto-click-auto's Issues

Python 3.11 breaks f-String cast

When running the auto setup with python 3.11 I get this in the shell:

❯ ai-tdd setup
Tab autocomplete configuration already setup in ~/.config/fish/completions/ai-tdd.ShellType.FISH.
The ~/.ShellType.ZSHrc configuration file does not exist.
The ~/.ShellType.BASHrc configuration file does not exist.

with python 3.10:

❯ ai-tdd setup
Adding tab autocomplete configuration in ~/.config/fish/completions/ai-tdd.fish ...
Restart or create a new shell session for the changes to take effect.
The ~/.bashrc configuration file does not exist.
The ~/.zshrc configuration file does not exist.

I guess the problem is that in 3.11 the automated f string cast changed
and all these lines in the core.py are affected:

f"~/.config/fish/completions/{program_name}.{shell}"

Can I help here?

Bug: shell completion requires system-wide installation

Originally reported in repository-service-tuf/repository-service-tuf-cli#469.

What happened?

When running a CLI program, installed in a virtual environment, when starting a shell session, users get the following error:
pyenv: <cli-program>: command not found

Solution

auto-click-auto will add a check in the shell configuration for whether the program is executable. This will keep shell sessions free from "command not found" errors when the autocompleted program is not installed system-wide.

platform.system() on MacOS issue

On a few systems I've tested MacOS/OSX is reporting Darwin:

>>> import platform
>>> platform.system()
'Darwin'

Should be fairly easy to update core.py?

# Check that the program is run on one of the supported Operating Systems
supported_os = ("Linux", "MacOS", "Darwin")

I've hacked this change into my site-packages for auto_click_auto and it does seem to work okay.

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.