Coder Social home page Coder Social logo

Add git subdirectory tests about mentat HOT 3 CLOSED

abanteai avatar abanteai commented on August 26, 2024 1
Add git subdirectory tests

from mentat.

Comments (3)

PCSwingle avatar PCSwingle commented on August 26, 2024 1

Sorry I wasn't clear! I'm pretty sure it works as expected right now (I could be wrong); if you run it from within a subdirectory of a git repo, it correctly picks up the git root, and when you specify files when starting mentat it correctly picks the files relative to your cwd; all this issue is for is adding tests to make sure these things work correctly when the cwd is a subdirectory of the git repo. Hopefully that makes more sense, let me know if you have any other questions!

from mentat.

granawkins avatar granawkins commented on August 26, 2024

I can do this quick but just to clarify, what's the expected behavior exactly?

e.g. in Mentat, I navigate to mentat/mentat, then run mentat code_file.py, and it runs with the top-level mentat as the git root. (this needs one fix to work, code_file_manager.py line 50)

Are you meant to also specify paths in sibling directories? e.g. mentat code_change.py ../tests/code_change_test.py?

from mentat.

granawkins avatar granawkins commented on August 26, 2024

Resolved by #96

from mentat.

Related Issues (20)

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.