Skip to content
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

Solution #1380

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Solution #1380

wants to merge 5 commits into from

Conversation

InsarovKuzma
Copy link

No description provided.

Comment on lines +1 to +2
from app.people.customer import Customer
from app.people.cinema_staff import Cleaner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need these imports if you are not using them?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need these imports if you are not using them?

Because i use them in fucntion annotaition. Have flake8 F821 undefined name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then it's better to remove double quotes

app/main.py Outdated
def cinema_visit(customers: list, hall_number: int, cleaner: str, movie: str):
# write you code here
pass
def cinema_visit(customers: list, hall_number: int,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to specify list of what do you expect here. For example: list[int], or list[dict]


class CinemaBar:
@staticmethod
def sell_product(product: str, customer: "Customer") -> None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as in hall.py here. Fix it, please.

Copy link

@YukihiroSM YukihiroSM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants