Skip to content

fix requests models.py path in tutorial-1.rst #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/tutorial-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For example:

.. code-block:: console

$ python -m import_deps projects/requests/requests/models.py
$ python -m import_deps projects/requests/src/requests/models.py
requests._internal_utils
requests.auth
requests.compat
Expand Down Expand Up @@ -107,7 +107,7 @@ For example, a trivial task to execute the script above and save its output into
def task_imports():
return {
'actions': ['python -m import_deps '
'projects/requests/requests/models.py > requests.models.deps'],
'projects/requests/src/requests/models.py > requests.models.deps'],
}


Expand Down Expand Up @@ -200,10 +200,10 @@ file_dep

.. code-block:: console

$ touch projects/requests/requests/models.py
$ touch projects/requests/src/requests/models.py
$ doit
-- imports
$ echo "# comment" >> projects/requests/requests/models.py
$ echo "# comment" >> projects/requests/src/requests/models.py
$ doit
. imports

Expand Down Expand Up @@ -355,7 +355,7 @@ metadata and state (whether it is up-to-date or not).
status : up-to-date

file_dep :
- projects/requests/requests/models.py
- projects/requests/src/requests/models.py

targets :
- requests.models.deps
Expand Down