Skip to content

Commit

Permalink
fix: ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeall committed Oct 24, 2024
1 parent 81b910e commit c15cadf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/utils/xpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ class MarketValue:
RANKINGS_POSITIONS = "//span[contains(@class, 'quick-fact__content--large')]//text()"

class Transfers:
YOUTH_CLUBS = "//div[@class='box tm-player-additional-data'][descendant::*[contains(text(), 'Youth')]]//div[@class='content']//text()"
YOUTH_CLUBS = (
"//div[@class='box tm-player-additional-data'][descendant::*[contains(text(), 'Youth')]]"
"//div[@class='content']//text()"
)

class Stats:
ROWS = "//table[@class='items']//tbody//tr"
Expand Down

0 comments on commit c15cadf

Please sign in to comment.